{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "#准备基本模块\n",
    "import pandas as pd\n",
    "from requests_html import HTMLSession\n",
    "import urllib.parse"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "url = \"https://www.liepin.com/zhaopin/\"\n",
    "session = HTMLSession()\n",
    "r = session.get( url )"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#  行业"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 解析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "行业_xpath = '//div[@class=\"wrap\"]//div[contains(@class,\"sub-industry\")]/a'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=420&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=010&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=030&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_02&jobKind=&industries=050&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_02&jobKind=&industries=060&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_02&jobKind=&industries=020&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_03&jobKind=&industries=080&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_03&jobKind=&industries=100&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_03&jobKind=&industries=090&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_04&jobKind=&industries=130&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_04&jobKind=&industries=140&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_04&jobKind=&industries=150&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_04&jobKind=&industries=430&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_04&jobKind=&industries=500&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=190&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=240&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=200&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=210&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=220&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=460&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_05&jobKind=&industries=470&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_06&jobKind=&industries=350&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_06&jobKind=&industries=360&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_06&jobKind=&industries=180&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_06&jobKind=&industries=370&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_06&jobKind=&industries=340&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_10&jobKind=&industries=270&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_10&jobKind=&industries=280&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_10&jobKind=&industries=290&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_11&jobKind=&industries=330&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_11&jobKind=&industries=310&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_11&jobKind=&industries=320&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_11&jobKind=&industries=300&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_11&jobKind=&industries=490&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=120&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=110&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=440&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=450&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=230&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=260&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_07&jobKind=&industries=510&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_08&jobKind=&industries=070&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_08&jobKind=&industries=170&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_08&jobKind=&industries=380&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_09&jobKind=&industries=250&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_09&jobKind=&industries=160&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_09&jobKind=&industries=480&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_12&jobKind=&industries=390&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_12&jobKind=&industries=410&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_12&jobKind=&industries=400&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622']"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "行业_url = [list(i.absolute_links)[0] for i in r.html.xpath(行业_xpath)]\n",
    "行业_url"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 寻找url参数变化规律"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['互联网/电商',\n",
       " '游戏产业',\n",
       " '计算机软件',\n",
       " 'IT服务',\n",
       " '电子/芯片/半导体',\n",
       " '通信业',\n",
       " '计算机/网络设备',\n",
       " '房地产/建筑',\n",
       " '规划/设计/装潢',\n",
       " '房地产服务',\n",
       " '银行',\n",
       " '保险',\n",
       " '基金/证券/投资',\n",
       " '会计/审计',\n",
       " '信托/担保/拍卖',\n",
       " '快消品',\n",
       " '批发零售',\n",
       " '服装纺织',\n",
       " '家具/家电',\n",
       " '办公设备',\n",
       " '奢侈品/收藏品',\n",
       " '珠宝/玩具/工艺品',\n",
       " '汽车/摩托车',\n",
       " '机械/机电/重工',\n",
       " '印刷/包装/造纸',\n",
       " '原材料加工',\n",
       " '仪器/电气/自动化',\n",
       " '制药/生物工程',\n",
       " '医疗/保健/美容',\n",
       " '医疗器械',\n",
       " '能源/水利',\n",
       " '石油/化工',\n",
       " '采掘/冶炼/矿产',\n",
       " '环保',\n",
       " '新能源',\n",
       " '专业服务',\n",
       " '中介服务',\n",
       " '外包服务',\n",
       " '检测/认证',\n",
       " '餐饮/酒旅/服务',\n",
       " '文体娱乐',\n",
       " '租赁服务',\n",
       " '广告/市场/会展',\n",
       " '影视文化',\n",
       " '教育培训',\n",
       " '交通/物流/运输',\n",
       " '贸易/进出口',\n",
       " '航空/航天',\n",
       " '政务/公共服务',\n",
       " '农林牧渔',\n",
       " '其他行业']"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "名称 = r.html.xpath('//div[@class=\"wrap\"]//div[contains(@class,\"sub-industry\")]/a/text()')\n",
    "名称"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{0: '互联网/电商',\n",
       " 1: '游戏产业',\n",
       " 2: '计算机软件',\n",
       " 3: 'IT服务',\n",
       " 4: '电子/芯片/半导体',\n",
       " 5: '通信业',\n",
       " 6: '计算机/网络设备',\n",
       " 7: '房地产/建筑',\n",
       " 8: '规划/设计/装潢',\n",
       " 9: '房地产服务',\n",
       " 10: '银行',\n",
       " 11: '保险',\n",
       " 12: '基金/证券/投资',\n",
       " 13: '会计/审计',\n",
       " 14: '信托/担保/拍卖',\n",
       " 15: '快消品',\n",
       " 16: '批发零售',\n",
       " 17: '服装纺织',\n",
       " 18: '家具/家电',\n",
       " 19: '办公设备',\n",
       " 20: '奢侈品/收藏品',\n",
       " 21: '珠宝/玩具/工艺品',\n",
       " 22: '汽车/摩托车',\n",
       " 23: '机械/机电/重工',\n",
       " 24: '印刷/包装/造纸',\n",
       " 25: '原材料加工',\n",
       " 26: '仪器/电气/自动化',\n",
       " 27: '制药/生物工程',\n",
       " 28: '医疗/保健/美容',\n",
       " 29: '医疗器械',\n",
       " 30: '能源/水利',\n",
       " 31: '石油/化工',\n",
       " 32: '采掘/冶炼/矿产',\n",
       " 33: '环保',\n",
       " 34: '新能源',\n",
       " 35: '专业服务',\n",
       " 36: '中介服务',\n",
       " 37: '外包服务',\n",
       " 38: '检测/认证',\n",
       " 39: '餐饮/酒旅/服务',\n",
       " 40: '文体娱乐',\n",
       " 41: '租赁服务',\n",
       " 42: '广告/市场/会展',\n",
       " 43: '影视文化',\n",
       " 44: '教育培训',\n",
       " 45: '交通/物流/运输',\n",
       " 46: '贸易/进出口',\n",
       " 47: '航空/航天',\n",
       " 48: '政务/公共服务',\n",
       " 49: '农林牧渔',\n",
       " 50: '其他行业'}"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "名称分类_str = {k:i for k,i in enumerate(名称)}\n",
    "名称分类_str"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'互联网/电商': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_01',\n",
       "  'jobKind=',\n",
       "  'industries=040',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '游戏产业': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_01',\n",
       "  'jobKind=',\n",
       "  'industries=420',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '计算机软件': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_01',\n",
       "  'jobKind=',\n",
       "  'industries=010',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " 'IT服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_01',\n",
       "  'jobKind=',\n",
       "  'industries=030',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '电子/芯片/半导体': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_02',\n",
       "  'jobKind=',\n",
       "  'industries=050',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '通信业': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_02',\n",
       "  'jobKind=',\n",
       "  'industries=060',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '计算机/网络设备': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_02',\n",
       "  'jobKind=',\n",
       "  'industries=020',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '房地产/建筑': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_03',\n",
       "  'jobKind=',\n",
       "  'industries=080',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '规划/设计/装潢': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_03',\n",
       "  'jobKind=',\n",
       "  'industries=100',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '房地产服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_03',\n",
       "  'jobKind=',\n",
       "  'industries=090',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '银行': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_04',\n",
       "  'jobKind=',\n",
       "  'industries=130',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '保险': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_04',\n",
       "  'jobKind=',\n",
       "  'industries=140',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '基金/证券/投资': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_04',\n",
       "  'jobKind=',\n",
       "  'industries=150',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '会计/审计': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_04',\n",
       "  'jobKind=',\n",
       "  'industries=430',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '信托/担保/拍卖': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_04',\n",
       "  'jobKind=',\n",
       "  'industries=500',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '快消品': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=190',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '批发零售': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=240',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '服装纺织': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=200',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '家具/家电': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=210',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '办公设备': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=220',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '奢侈品/收藏品': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=460',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '珠宝/玩具/工艺品': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_05',\n",
       "  'jobKind=',\n",
       "  'industries=470',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '汽车/摩托车': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_06',\n",
       "  'jobKind=',\n",
       "  'industries=350',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '机械/机电/重工': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_06',\n",
       "  'jobKind=',\n",
       "  'industries=360',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '印刷/包装/造纸': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_06',\n",
       "  'jobKind=',\n",
       "  'industries=180',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '原材料加工': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_06',\n",
       "  'jobKind=',\n",
       "  'industries=370',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '仪器/电气/自动化': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_06',\n",
       "  'jobKind=',\n",
       "  'industries=340',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '制药/生物工程': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_10',\n",
       "  'jobKind=',\n",
       "  'industries=270',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '医疗/保健/美容': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_10',\n",
       "  'jobKind=',\n",
       "  'industries=280',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '医疗器械': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_10',\n",
       "  'jobKind=',\n",
       "  'industries=290',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '能源/水利': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_11',\n",
       "  'jobKind=',\n",
       "  'industries=330',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '石油/化工': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_11',\n",
       "  'jobKind=',\n",
       "  'industries=310',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '采掘/冶炼/矿产': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_11',\n",
       "  'jobKind=',\n",
       "  'industries=320',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '环保': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_11',\n",
       "  'jobKind=',\n",
       "  'industries=300',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '新能源': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_11',\n",
       "  'jobKind=',\n",
       "  'industries=490',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '专业服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=120',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '中介服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=110',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '外包服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=440',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '检测/认证': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=450',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '餐饮/酒旅/服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=230',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '文体娱乐': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=260',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '租赁服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_07',\n",
       "  'jobKind=',\n",
       "  'industries=510',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '广告/市场/会展': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_08',\n",
       "  'jobKind=',\n",
       "  'industries=070',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '影视文化': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_08',\n",
       "  'jobKind=',\n",
       "  'industries=170',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '教育培训': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_08',\n",
       "  'jobKind=',\n",
       "  'industries=380',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '交通/物流/运输': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_09',\n",
       "  'jobKind=',\n",
       "  'industries=250',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '贸易/进出口': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_09',\n",
       "  'jobKind=',\n",
       "  'industries=160',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '航空/航天': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_09',\n",
       "  'jobKind=',\n",
       "  'industries=480',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '政务/公共服务': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_12',\n",
       "  'jobKind=',\n",
       "  'industries=390',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '农林牧渔': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_12',\n",
       "  'jobKind=',\n",
       "  'industries=410',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '其他行业': ['flushckid=1',\n",
       "  'compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'industryType=industry_12',\n",
       "  'jobKind=',\n",
       "  'industries=400',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622']}"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "分类_dict = {i:行业_url[k].split('?')[1].split('&') for k,i in enumerate(名称)}\n",
    "分类_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>互联网/电商</th>\n",
       "      <th>游戏产业</th>\n",
       "      <th>计算机软件</th>\n",
       "      <th>IT服务</th>\n",
       "      <th>电子/芯片/半导体</th>\n",
       "      <th>通信业</th>\n",
       "      <th>计算机/网络设备</th>\n",
       "      <th>房地产/建筑</th>\n",
       "      <th>规划/设计/装潢</th>\n",
       "      <th>房地产服务</th>\n",
       "      <th>...</th>\n",
       "      <th>租赁服务</th>\n",
       "      <th>广告/市场/会展</th>\n",
       "      <th>影视文化</th>\n",
       "      <th>教育培训</th>\n",
       "      <th>交通/物流/运输</th>\n",
       "      <th>贸易/进出口</th>\n",
       "      <th>航空/航天</th>\n",
       "      <th>政务/公共服务</th>\n",
       "      <th>农林牧渔</th>\n",
       "      <th>其他行业</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>...</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "      <td>flushckid=1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>...</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>...</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>...</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>...</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>...</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>...</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>...</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>...</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>...</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>...</td>\n",
       "      <td>industryType=industry_07</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>...</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>industries=040</td>\n",
       "      <td>industries=420</td>\n",
       "      <td>industries=010</td>\n",
       "      <td>industries=030</td>\n",
       "      <td>industries=050</td>\n",
       "      <td>industries=060</td>\n",
       "      <td>industries=020</td>\n",
       "      <td>industries=080</td>\n",
       "      <td>industries=100</td>\n",
       "      <td>industries=090</td>\n",
       "      <td>...</td>\n",
       "      <td>industries=510</td>\n",
       "      <td>industries=070</td>\n",
       "      <td>industries=170</td>\n",
       "      <td>industries=380</td>\n",
       "      <td>industries=250</td>\n",
       "      <td>industries=160</td>\n",
       "      <td>industries=480</td>\n",
       "      <td>industries=390</td>\n",
       "      <td>industries=410</td>\n",
       "      <td>industries=400</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>...</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>...</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>...</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>...</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>...</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>...</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>...</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>21 rows × 51 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               互联网/电商  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_01   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=040   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 游戏产业  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_01   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=420   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                计算机软件  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_01   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=010   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 IT服务  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_01   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=030   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                            电子/芯片/半导体  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_02   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=050   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                  通信业  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_02   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=060   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                             计算机/网络设备  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_02   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=020   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               房地产/建筑  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_03   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=080   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                             规划/设计/装潢  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_03   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=100   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                房地产服务  ...  \\\n",
       "0                                         flushckid=1  ...   \n",
       "1                                           compkind=  ...   \n",
       "2                                                dqs=  ...   \n",
       "3                                            pubTime=  ...   \n",
       "4                                         pageSize=40  ...   \n",
       "5                                             salary=  ...   \n",
       "6                                            compTag=  ...   \n",
       "7                                           sortFlag=  ...   \n",
       "8                                            compIds=  ...   \n",
       "9                                        subIndustry=  ...   \n",
       "10                           industryType=industry_03  ...   \n",
       "11                                           jobKind=  ...   \n",
       "12                                     industries=090  ...   \n",
       "13                                         compscale=  ...   \n",
       "14                                               key=  ...   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...  ...   \n",
       "16                             d_sfrom=search_unknown  ...   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622  ...   \n",
       "18                                        d_curPage=0  ...   \n",
       "19                                      d_pageSize=40  ...   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622  ...   \n",
       "\n",
       "                                                 租赁服务  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_07   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=510   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                             广告/市场/会展  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_08   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=070   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 影视文化  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_08   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=170   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 教育培训  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_08   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=380   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                             交通/物流/运输  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_09   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=250   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               贸易/进出口  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_09   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=160   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                航空/航天  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_09   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=480   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                              政务/公共服务  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_12   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=390   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 农林牧渔  \\\n",
       "0                                         flushckid=1   \n",
       "1                                           compkind=   \n",
       "2                                                dqs=   \n",
       "3                                            pubTime=   \n",
       "4                                         pageSize=40   \n",
       "5                                             salary=   \n",
       "6                                            compTag=   \n",
       "7                                           sortFlag=   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                           industryType=industry_12   \n",
       "11                                           jobKind=   \n",
       "12                                     industries=410   \n",
       "13                                         compscale=   \n",
       "14                                               key=   \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "16                             d_sfrom=search_unknown   \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "18                                        d_curPage=0   \n",
       "19                                      d_pageSize=40   \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                                 其他行业  \n",
       "0                                         flushckid=1  \n",
       "1                                           compkind=  \n",
       "2                                                dqs=  \n",
       "3                                            pubTime=  \n",
       "4                                         pageSize=40  \n",
       "5                                             salary=  \n",
       "6                                            compTag=  \n",
       "7                                           sortFlag=  \n",
       "8                                            compIds=  \n",
       "9                                        subIndustry=  \n",
       "10                           industryType=industry_12  \n",
       "11                                           jobKind=  \n",
       "12                                     industries=400  \n",
       "13                                         compscale=  \n",
       "14                                               key=  \n",
       "15  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...  \n",
       "16                             d_sfrom=search_unknown  \n",
       "17            d_ckId=4f33a177e4f6d42017eeaffb9224c622  \n",
       "18                                        d_curPage=0  \n",
       "19                                      d_pageSize=40  \n",
       "20          d_headId=4f33a177e4f6d42017eeaffb9224c622  \n",
       "\n",
       "[21 rows x 51 columns]"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "分类_df = pd.DataFrame(分类_dict)\n",
    "分类_df"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 获取参数变化值"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>互联网/电商</th>\n",
       "      <th>游戏产业</th>\n",
       "      <th>计算机软件</th>\n",
       "      <th>IT服务</th>\n",
       "      <th>电子/芯片/半导体</th>\n",
       "      <th>通信业</th>\n",
       "      <th>计算机/网络设备</th>\n",
       "      <th>房地产/建筑</th>\n",
       "      <th>规划/设计/装潢</th>\n",
       "      <th>房地产服务</th>\n",
       "      <th>...</th>\n",
       "      <th>租赁服务</th>\n",
       "      <th>广告/市场/会展</th>\n",
       "      <th>影视文化</th>\n",
       "      <th>教育培训</th>\n",
       "      <th>交通/物流/运输</th>\n",
       "      <th>贸易/进出口</th>\n",
       "      <th>航空/航天</th>\n",
       "      <th>政务/公共服务</th>\n",
       "      <th>农林牧渔</th>\n",
       "      <th>其他行业</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_01</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_02</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>industryType=industry_03</td>\n",
       "      <td>...</td>\n",
       "      <td>industryType=industry_07</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_08</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_09</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "      <td>industryType=industry_12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>...</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>industries=040</td>\n",
       "      <td>industries=420</td>\n",
       "      <td>industries=010</td>\n",
       "      <td>industries=030</td>\n",
       "      <td>industries=050</td>\n",
       "      <td>industries=060</td>\n",
       "      <td>industries=020</td>\n",
       "      <td>industries=080</td>\n",
       "      <td>industries=100</td>\n",
       "      <td>industries=090</td>\n",
       "      <td>...</td>\n",
       "      <td>industries=510</td>\n",
       "      <td>industries=070</td>\n",
       "      <td>industries=170</td>\n",
       "      <td>industries=380</td>\n",
       "      <td>industries=250</td>\n",
       "      <td>industries=160</td>\n",
       "      <td>industries=480</td>\n",
       "      <td>industries=390</td>\n",
       "      <td>industries=410</td>\n",
       "      <td>industries=400</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>3 rows × 51 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                      互联网/电商                      游戏产业  \\\n",
       "10  industryType=industry_01  industryType=industry_01   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=040            industries=420   \n",
       "\n",
       "                       计算机软件                      IT服务  \\\n",
       "10  industryType=industry_01  industryType=industry_01   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=010            industries=030   \n",
       "\n",
       "                   电子/芯片/半导体                       通信业  \\\n",
       "10  industryType=industry_02  industryType=industry_02   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=050            industries=060   \n",
       "\n",
       "                    计算机/网络设备                    房地产/建筑  \\\n",
       "10  industryType=industry_02  industryType=industry_03   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=020            industries=080   \n",
       "\n",
       "                    规划/设计/装潢                     房地产服务  ...  \\\n",
       "10  industryType=industry_03  industryType=industry_03  ...   \n",
       "11                  jobKind=                  jobKind=  ...   \n",
       "12            industries=100            industries=090  ...   \n",
       "\n",
       "                        租赁服务                  广告/市场/会展  \\\n",
       "10  industryType=industry_07  industryType=industry_08   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=510            industries=070   \n",
       "\n",
       "                        影视文化                      教育培训  \\\n",
       "10  industryType=industry_08  industryType=industry_08   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=170            industries=380   \n",
       "\n",
       "                    交通/物流/运输                    贸易/进出口  \\\n",
       "10  industryType=industry_09  industryType=industry_09   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=250            industries=160   \n",
       "\n",
       "                       航空/航天                   政务/公共服务  \\\n",
       "10  industryType=industry_09  industryType=industry_12   \n",
       "11                  jobKind=                  jobKind=   \n",
       "12            industries=480            industries=390   \n",
       "\n",
       "                        农林牧渔                      其他行业  \n",
       "10  industryType=industry_12  industryType=industry_12  \n",
       "11                  jobKind=                  jobKind=  \n",
       "12            industries=410            industries=400  \n",
       "\n",
       "[3 rows x 51 columns]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "分类_df[10:13]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['industries=040',\n",
       " 'industries=420',\n",
       " 'industries=010',\n",
       " 'industries=030',\n",
       " 'industries=050',\n",
       " 'industries=060',\n",
       " 'industries=020',\n",
       " 'industries=080',\n",
       " 'industries=100',\n",
       " 'industries=090',\n",
       " 'industries=130',\n",
       " 'industries=140',\n",
       " 'industries=150',\n",
       " 'industries=430',\n",
       " 'industries=500',\n",
       " 'industries=190',\n",
       " 'industries=240',\n",
       " 'industries=200',\n",
       " 'industries=210',\n",
       " 'industries=220',\n",
       " 'industries=460',\n",
       " 'industries=470',\n",
       " 'industries=350',\n",
       " 'industries=360',\n",
       " 'industries=180',\n",
       " 'industries=370',\n",
       " 'industries=340',\n",
       " 'industries=270',\n",
       " 'industries=280',\n",
       " 'industries=290',\n",
       " 'industries=330',\n",
       " 'industries=310',\n",
       " 'industries=320',\n",
       " 'industries=300',\n",
       " 'industries=490',\n",
       " 'industries=120',\n",
       " 'industries=110',\n",
       " 'industries=440',\n",
       " 'industries=450',\n",
       " 'industries=230',\n",
       " 'industries=260',\n",
       " 'industries=510',\n",
       " 'industries=070',\n",
       " 'industries=170',\n",
       " 'industries=380',\n",
       " 'industries=250',\n",
       " 'industries=160',\n",
       " 'industries=480',\n",
       " 'industries=390',\n",
       " 'industries=410',\n",
       " 'industries=400']"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "industries_list = 分类_df[12:13].T[12].to_list()\n",
    "industries_list  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['industryType=industry_01',\n",
       " 'industryType=industry_01',\n",
       " 'industryType=industry_01',\n",
       " 'industryType=industry_01',\n",
       " 'industryType=industry_02',\n",
       " 'industryType=industry_02',\n",
       " 'industryType=industry_02',\n",
       " 'industryType=industry_03',\n",
       " 'industryType=industry_03',\n",
       " 'industryType=industry_03',\n",
       " 'industryType=industry_04',\n",
       " 'industryType=industry_04',\n",
       " 'industryType=industry_04',\n",
       " 'industryType=industry_04',\n",
       " 'industryType=industry_04',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_05',\n",
       " 'industryType=industry_06',\n",
       " 'industryType=industry_06',\n",
       " 'industryType=industry_06',\n",
       " 'industryType=industry_06',\n",
       " 'industryType=industry_06',\n",
       " 'industryType=industry_10',\n",
       " 'industryType=industry_10',\n",
       " 'industryType=industry_10',\n",
       " 'industryType=industry_11',\n",
       " 'industryType=industry_11',\n",
       " 'industryType=industry_11',\n",
       " 'industryType=industry_11',\n",
       " 'industryType=industry_11',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_07',\n",
       " 'industryType=industry_08',\n",
       " 'industryType=industry_08',\n",
       " 'industryType=industry_08',\n",
       " 'industryType=industry_09',\n",
       " 'industryType=industry_09',\n",
       " 'industryType=industry_09',\n",
       " 'industryType=industry_12',\n",
       " 'industryType=industry_12',\n",
       " 'industryType=industry_12']"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "industryType_list = 分类_df[10:11].T[10].to_list()\n",
    "industryType_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['互联网/电商',\n",
       " '游戏产业',\n",
       " '计算机软件',\n",
       " 'IT服务',\n",
       " '电子/芯片/半导体',\n",
       " '通信业',\n",
       " '计算机/网络设备',\n",
       " '房地产/建筑',\n",
       " '规划/设计/装潢',\n",
       " '房地产服务',\n",
       " '银行',\n",
       " '保险',\n",
       " '基金/证券/投资',\n",
       " '会计/审计',\n",
       " '信托/担保/拍卖',\n",
       " '快消品',\n",
       " '批发零售',\n",
       " '服装纺织',\n",
       " '家具/家电',\n",
       " '办公设备',\n",
       " '奢侈品/收藏品',\n",
       " '珠宝/玩具/工艺品',\n",
       " '汽车/摩托车',\n",
       " '机械/机电/重工',\n",
       " '印刷/包装/造纸',\n",
       " '原材料加工',\n",
       " '仪器/电气/自动化',\n",
       " '制药/生物工程',\n",
       " '医疗/保健/美容',\n",
       " '医疗器械',\n",
       " '能源/水利',\n",
       " '石油/化工',\n",
       " '采掘/冶炼/矿产',\n",
       " '环保',\n",
       " '新能源',\n",
       " '专业服务',\n",
       " '中介服务',\n",
       " '外包服务',\n",
       " '检测/认证',\n",
       " '餐饮/酒旅/服务',\n",
       " '文体娱乐',\n",
       " '租赁服务',\n",
       " '广告/市场/会展',\n",
       " '影视文化',\n",
       " '教育培训',\n",
       " '交通/物流/运输',\n",
       " '贸易/进出口',\n",
       " '航空/航天',\n",
       " '政务/公共服务',\n",
       " '农林牧渔',\n",
       " '其他行业']"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "分类 = 分类_df.columns.to_list()\n",
    "分类"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'互联网/电商': 'industry_01',\n",
       " '游戏产业': 'industry_01',\n",
       " '计算机软件': 'industry_01',\n",
       " 'IT服务': 'industry_01',\n",
       " '电子/芯片/半导体': 'industry_02',\n",
       " '通信业': 'industry_02',\n",
       " '计算机/网络设备': 'industry_02',\n",
       " '房地产/建筑': 'industry_03',\n",
       " '规划/设计/装潢': 'industry_03',\n",
       " '房地产服务': 'industry_03',\n",
       " '银行': 'industry_04',\n",
       " '保险': 'industry_04',\n",
       " '基金/证券/投资': 'industry_04',\n",
       " '会计/审计': 'industry_04',\n",
       " '信托/担保/拍卖': 'industry_04',\n",
       " '快消品': 'industry_05',\n",
       " '批发零售': 'industry_05',\n",
       " '服装纺织': 'industry_05',\n",
       " '家具/家电': 'industry_05',\n",
       " '办公设备': 'industry_05',\n",
       " '奢侈品/收藏品': 'industry_05',\n",
       " '珠宝/玩具/工艺品': 'industry_05',\n",
       " '汽车/摩托车': 'industry_06',\n",
       " '机械/机电/重工': 'industry_06',\n",
       " '印刷/包装/造纸': 'industry_06',\n",
       " '原材料加工': 'industry_06',\n",
       " '仪器/电气/自动化': 'industry_06',\n",
       " '制药/生物工程': 'industry_10',\n",
       " '医疗/保健/美容': 'industry_10',\n",
       " '医疗器械': 'industry_10',\n",
       " '能源/水利': 'industry_11',\n",
       " '石油/化工': 'industry_11',\n",
       " '采掘/冶炼/矿产': 'industry_11',\n",
       " '环保': 'industry_11',\n",
       " '新能源': 'industry_11',\n",
       " '专业服务': 'industry_07',\n",
       " '中介服务': 'industry_07',\n",
       " '外包服务': 'industry_07',\n",
       " '检测/认证': 'industry_07',\n",
       " '餐饮/酒旅/服务': 'industry_07',\n",
       " '文体娱乐': 'industry_07',\n",
       " '租赁服务': 'industry_07',\n",
       " '广告/市场/会展': 'industry_08',\n",
       " '影视文化': 'industry_08',\n",
       " '教育培训': 'industry_08',\n",
       " '交通/物流/运输': 'industry_09',\n",
       " '贸易/进出口': 'industry_09',\n",
       " '航空/航天': 'industry_09',\n",
       " '政务/公共服务': 'industry_12',\n",
       " '农林牧渔': 'industry_12',\n",
       " '其他行业': 'industry_12'}"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "industry_参数构建 = {分类[i]:industryType_list[i].split('=')[1] for i in range(len(industryType_list))}\n",
    "\n",
    "industry_参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'互联网/电商': '040',\n",
       " '游戏产业': '420',\n",
       " '计算机软件': '010',\n",
       " 'IT服务': '030',\n",
       " '电子/芯片/半导体': '050',\n",
       " '通信业': '060',\n",
       " '计算机/网络设备': '020',\n",
       " '房地产/建筑': '080',\n",
       " '规划/设计/装潢': '100',\n",
       " '房地产服务': '090',\n",
       " '银行': '130',\n",
       " '保险': '140',\n",
       " '基金/证券/投资': '150',\n",
       " '会计/审计': '430',\n",
       " '信托/担保/拍卖': '500',\n",
       " '快消品': '190',\n",
       " '批发零售': '240',\n",
       " '服装纺织': '200',\n",
       " '家具/家电': '210',\n",
       " '办公设备': '220',\n",
       " '奢侈品/收藏品': '460',\n",
       " '珠宝/玩具/工艺品': '470',\n",
       " '汽车/摩托车': '350',\n",
       " '机械/机电/重工': '360',\n",
       " '印刷/包装/造纸': '180',\n",
       " '原材料加工': '370',\n",
       " '仪器/电气/自动化': '340',\n",
       " '制药/生物工程': '270',\n",
       " '医疗/保健/美容': '280',\n",
       " '医疗器械': '290',\n",
       " '能源/水利': '330',\n",
       " '石油/化工': '310',\n",
       " '采掘/冶炼/矿产': '320',\n",
       " '环保': '300',\n",
       " '新能源': '490',\n",
       " '专业服务': '120',\n",
       " '中介服务': '110',\n",
       " '外包服务': '440',\n",
       " '检测/认证': '450',\n",
       " '餐饮/酒旅/服务': '230',\n",
       " '文体娱乐': '260',\n",
       " '租赁服务': '510',\n",
       " '广告/市场/会展': '070',\n",
       " '影视文化': '170',\n",
       " '教育培训': '380',\n",
       " '交通/物流/运输': '250',\n",
       " '贸易/进出口': '160',\n",
       " '航空/航天': '480',\n",
       " '政务/公共服务': '390',\n",
       " '农林牧渔': '410',\n",
       " '其他行业': '400'}"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "industries_参数构建 = {分类[i]:industries_list[i].split('=')[1] for i in range(len(industries_list))}\n",
    "industries_参数构建\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "# for i in range(len(industries_list)):\n",
    "#     分类_dict = {i:{x.split('=')[0]:x.split('=')[1]   for x in 参数模版[k].split('?')[1].split('&')} for k,i in enumerate(小分类_文本)}\n",
    "#     分类_dict[分类[i]]={小分类_文本[i]:行业分类_dict[小分类_文本[i]][\"industries\"] for i in range(len(分类_dict))}\n",
    "# 分类_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "游戏产业\n"
     ]
    }
   ],
   "source": [
    "print(分类[1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "ParseResult(scheme='https', netloc='www.liepin.com', path='/zhaopin/', params='', query='flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=420&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622', fragment='')\n"
     ]
    }
   ],
   "source": [
    "参数模版 = urllib.parse.urlparse(行业_url[1])\n",
    "\n",
    "print(参数模版)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['flushckid=1',\n",
       " 'compkind=',\n",
       " 'dqs=',\n",
       " 'pubTime=',\n",
       " 'pageSize=40',\n",
       " 'salary=',\n",
       " 'compTag=',\n",
       " 'sortFlag=',\n",
       " 'compIds=',\n",
       " 'subIndustry=',\n",
       " 'industryType=industry_01',\n",
       " 'jobKind=',\n",
       " 'industries=420',\n",
       " 'compscale=',\n",
       " 'key=',\n",
       " 'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       " 'd_sfrom=search_unknown',\n",
       " 'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'd_curPage=0',\n",
       " 'd_pageSize=40',\n",
       " 'd_headId=4f33a177e4f6d42017eeaffb9224c622']"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模版.query.split(\"&\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'flushckid': '1',\n",
       " 'compkind': '',\n",
       " 'dqs': '',\n",
       " 'pubTime': '',\n",
       " 'pageSize': '40',\n",
       " 'salary': '',\n",
       " 'compTag': '',\n",
       " 'sortFlag': '',\n",
       " 'compIds': '',\n",
       " 'subIndustry': '',\n",
       " 'industryType': 'industry_01',\n",
       " 'jobKind': '',\n",
       " 'industries': '420',\n",
       " 'compscale': '',\n",
       " 'key': '',\n",
       " 'siTag': '1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       " 'd_sfrom': 'search_unknown',\n",
       " 'd_ckId': '4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'd_curPage': '0',\n",
       " 'd_pageSize': '40',\n",
       " 'd_headId': '4f33a177e4f6d42017eeaffb9224c622'}"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模版_dict = {  i.split('=')[0]   :    i.split('=')[1]          for i in 参数模版.query.split(\"&\")}\n",
    "参数模版_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 参数模版_dict =  参数模版.query.split(\"&\")\n",
    "# 参数模版_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "def 参数模板(i):\n",
    "    industry_values = industry_参数构建[i]\n",
    "    industries_values = industries_参数构建[i]\n",
    "    参数模版_dict[\"industry\"] = industry_values\n",
    "    参数模版_dict[\"industries\"] = industries_values\n",
    "    \n",
    "    return (参数模版_dict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'flushckid': '1',\n",
       " 'compkind': '',\n",
       " 'dqs': '',\n",
       " 'pubTime': '',\n",
       " 'pageSize': '40',\n",
       " 'salary': '',\n",
       " 'compTag': '',\n",
       " 'sortFlag': '',\n",
       " 'compIds': '',\n",
       " 'subIndustry': '',\n",
       " 'industryType': 'industry_01',\n",
       " 'jobKind': '',\n",
       " 'industries': '420',\n",
       " 'compscale': '',\n",
       " 'key': '',\n",
       " 'siTag': '1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       " 'd_sfrom': 'search_unknown',\n",
       " 'd_ckId': '4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'd_curPage': '0',\n",
       " 'd_pageSize': '40',\n",
       " 'd_headId': '4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'industry': 'industry_01'}"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模板('游戏产业')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https',\n",
       " 'www.liepin.com',\n",
       " '/zhaopin/',\n",
       " '',\n",
       " 'flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=420&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " '']"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模版_list = pd.Series(参数模版).tolist()\n",
    "参数模版_list"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 构建url模板"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "def url_参数模板(i):\n",
    "    industry_values = industry_参数构建[i]\n",
    "    industries_values = industries_参数构建[i]\n",
    "    参数模版_dict[\"industry\"] = industry_values\n",
    "    参数模版_dict[\"industries\"] = industries_values\n",
    "    query_new = \"&\".join([k+\"=\"+v for k,v in 参数模版_dict.items()]) # 新生成的query\n",
    "    参数模版_list[4] = query_new\n",
    "    url_参数 =  urllib.parse.urlunparse(参数模版_list)      \n",
    "    return (url_参数)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'https://www.liepin.com/zhaopin/?flushckid=1&compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&compIds=&subIndustry=&industryType=industry_01&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622&industry=industry_01'"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    " url_参数模板('互联网/电商')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 爬取数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "def change_industry(i):\n",
    "    url = url_参数模板(i)\n",
    "    session = HTMLSession()\n",
    "    r = session.get( url )\n",
    "\n",
    "    dict_xpaths = {\n",
    "    \"职称\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title',\n",
    "    \"公司名称\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title',\n",
    "    \"薪水\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()',\n",
    "    \"经验\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()',\n",
    "    \"发布时间\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title',\n",
    "    \"详情页链接\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href',\n",
    "    \"公司概况链接\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p[contains(@class,\"company-name\")]/a/@href',\n",
    "    }\n",
    "\n",
    "    主要元素 = r.html.xpath( \\\n",
    "    '//div[@class=\"job-content\"]/div[@class=\"sojob-result \"]')\n",
    "    数据字典 = {k:r.html.xpath(v) for k,v in dict_xpaths.items()}\n",
    "    数据 = pd.DataFrame(数据字典)\n",
    "    \n",
    "    return(数据)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>职称</th>\n",
       "      <th>公司名称</th>\n",
       "      <th>薪水</th>\n",
       "      <th>经验</th>\n",
       "      <th>发布时间</th>\n",
       "      <th>详情页链接</th>\n",
       "      <th>公司概况链接</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>招聘数据库管理员(DBA)</td>\n",
       "      <td>公司上海大众出行</td>\n",
       "      <td>12-20k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938253907.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12403079/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>招聘招聘专员/招聘经理</td>\n",
       "      <td>公司博依特科技</td>\n",
       "      <td>11-18k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1937731217.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9507090/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>招聘中级java工程师</td>\n",
       "      <td>公司猎熊座</td>\n",
       "      <td>15-20k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938757345.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8596328/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>招聘大客户销售专员</td>\n",
       "      <td>公司LoveAd</td>\n",
       "      <td>6-10k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938760363.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8212474/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>招聘市场专员</td>\n",
       "      <td>公司猎聘</td>\n",
       "      <td>6-7k·14薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1937720553.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8388699/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>招聘java算法高级开发</td>\n",
       "      <td>公司海南搜了科技股份有限公司</td>\n",
       "      <td>25-40k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938772147.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12545257/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>招聘POWER平台运营（专员/主管/经理）</td>\n",
       "      <td>公司摩伽科技</td>\n",
       "      <td>5-12k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938756005.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8258587/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>招聘直播运营经理</td>\n",
       "      <td>公司北京圣泽天下网络科技有限公司</td>\n",
       "      <td>15-30k</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938883577.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9897639/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>招聘女装买手</td>\n",
       "      <td>公司杭州辛橙信息科技有限公司</td>\n",
       "      <td>10-17k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938881049.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12677339/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>招聘人力资源经理</td>\n",
       "      <td>公司浙江孚临科技有限公司</td>\n",
       "      <td>10-20k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938881019.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9322337/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>招聘薪酬绩效专家</td>\n",
       "      <td>公司i云保</td>\n",
       "      <td>30-40k·15薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938880893.shtml</td>\n",
       "      <td>https://www.liepin.com/company/10170711/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>招聘搜索算法高级工程师</td>\n",
       "      <td>公司寺库</td>\n",
       "      <td>70-100k</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938875853.shtml</td>\n",
       "      <td>https://www.liepin.com/company/4124363/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>招聘HRBP</td>\n",
       "      <td>公司北京米连科技有限公司</td>\n",
       "      <td>15-30k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938875131.shtml</td>\n",
       "      <td>https://www.liepin.com/company/10009003/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>招聘行政专家-安全管理 - 行政部004</td>\n",
       "      <td>公司网易集团</td>\n",
       "      <td>30-50k·16薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938871807.shtml</td>\n",
       "      <td>https://www.liepin.com/company/5964833/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>招聘行政专家-工程效率 - 行政部004</td>\n",
       "      <td>公司网易集团</td>\n",
       "      <td>30-50k·16薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938871661.shtml</td>\n",
       "      <td>https://www.liepin.com/company/5964833/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>招聘小学数学/奥数主讲（冠军班）</td>\n",
       "      <td>公司网易集团</td>\n",
       "      <td>30-60k·13薪</td>\n",
       "      <td>北京-西北旺</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938871305.shtml</td>\n",
       "      <td>https://www.liepin.com/company/5964833/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>招聘客户经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867509.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>招聘交付经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867435.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>招聘综合管理岗</td>\n",
       "      <td>公司晋商消费</td>\n",
       "      <td>8-12k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867365.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8587605/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>招聘解决方案经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867071.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>招聘区块链开发工程师</td>\n",
       "      <td>公司Rivtower</td>\n",
       "      <td>20-40k·13薪</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938863441.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12179511/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>招聘JNBY培训专家</td>\n",
       "      <td>公司江南布衣</td>\n",
       "      <td>15-25k·15薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938853781.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8238654/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>招聘电子商务经理</td>\n",
       "      <td>公司上海小宅生物科技有限公司</td>\n",
       "      <td>10-30k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938845221.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9259002/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>招聘产品经理（智能硬件）</td>\n",
       "      <td>公司上海摩象网络科技有限公司北京分公司</td>\n",
       "      <td>30-40k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938840913.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9570018/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>招聘资深供应计划员</td>\n",
       "      <td>公司广州环讯商务服务有限公司</td>\n",
       "      <td>8-10k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938827155.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12557675/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>招聘人事专员</td>\n",
       "      <td>公司海南搜了科技股份有限公司</td>\n",
       "      <td>3-5k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938825737.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12545257/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>招聘招聘主管</td>\n",
       "      <td>公司猎聘</td>\n",
       "      <td>6-9k·14薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938825255.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8388699/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>招聘工业设计师</td>\n",
       "      <td>公司芜湖凡臣电子商务有限责任公司</td>\n",
       "      <td>11-13k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938814779.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7902148/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>招聘企业文化经理</td>\n",
       "      <td>公司嬴彻科技</td>\n",
       "      <td>15-20k</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938803785.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9671797/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>招聘亚马逊精品运营</td>\n",
       "      <td>公司深圳市闪魔数码科技有限公司</td>\n",
       "      <td>10-18k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938782727.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8015186/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>招聘项目经理</td>\n",
       "      <td>公司深圳市闪魔数码科技有限公司</td>\n",
       "      <td>15-20k</td>\n",
       "      <td>中专/中技及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938782415.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8015186/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>招聘（资深）招聘专家</td>\n",
       "      <td>公司PingPong</td>\n",
       "      <td>20-24k·24薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938690497.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8756751/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>招聘大客户销售</td>\n",
       "      <td>公司百望股份有限公司</td>\n",
       "      <td>15-30k</td>\n",
       "      <td>北京-海淀区</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938672477.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8723958/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>招聘店长-青瓷馆（工作地：北京）</td>\n",
       "      <td>公司摩伽科技</td>\n",
       "      <td>6-10k</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938671591.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8258587/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>招聘基建项目主管</td>\n",
       "      <td>公司宁波工业互联网研究院有限公司</td>\n",
       "      <td>10-15k·14薪</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938667631.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9565863/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>招聘无人驾驶规划决策算法工程师</td>\n",
       "      <td>公司洛阳问鼎智能装备有限公司</td>\n",
       "      <td>6-12k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938657097.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12598861/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>招聘C++通信交互开发工程师</td>\n",
       "      <td>公司洛阳问鼎智能装备有限公司</td>\n",
       "      <td>6-12k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938656825.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12598861/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>招聘机器人系统测试工程师</td>\n",
       "      <td>公司洛阳问鼎智能装备有限公司</td>\n",
       "      <td>4-7k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938655869.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12598861/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>招聘大客户BD</td>\n",
       "      <td>公司成都星际港湾科技有限公司</td>\n",
       "      <td>15-25k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938633699.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12345229/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>招聘小米之家专卖店店长（驻马店）</td>\n",
       "      <td>公司小米</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938618991.shtml</td>\n",
       "      <td>https://www.liepin.com/company/2174886/</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                       职称                 公司名称          薪水        经验  \\\n",
       "0           招聘数据库管理员(DBA)             公司上海大众出行  12-20k·13薪     本科及以上   \n",
       "1             招聘招聘专员/招聘经理              公司博依特科技      11-18k     本科及以上   \n",
       "2             招聘中级java工程师                公司猎熊座      15-20k     本科及以上   \n",
       "3               招聘大客户销售专员             公司LoveAd       6-10k     大专及以上   \n",
       "4                  招聘市场专员                 公司猎聘    6-7k·14薪     本科及以上   \n",
       "5            招聘java算法高级开发       公司海南搜了科技股份有限公司      25-40k     本科及以上   \n",
       "6   招聘POWER平台运营（专员/主管/经理）               公司摩伽科技       5-12k     大专及以上   \n",
       "7                招聘直播运营经理     公司北京圣泽天下网络科技有限公司      15-30k    北京-朝阳区   \n",
       "8                  招聘女装买手       公司杭州辛橙信息科技有限公司      10-17k     大专及以上   \n",
       "9                招聘人力资源经理         公司浙江孚临科技有限公司      10-20k     大专及以上   \n",
       "10               招聘薪酬绩效专家                公司i云保  30-40k·15薪     本科及以上   \n",
       "11            招聘搜索算法高级工程师                 公司寺库     70-100k    北京-朝阳区   \n",
       "12                 招聘HRBP         公司北京米连科技有限公司  15-30k·13薪     本科及以上   \n",
       "13   招聘行政专家-安全管理 - 行政部004               公司网易集团  30-50k·16薪     大专及以上   \n",
       "14   招聘行政专家-工程效率 - 行政部004               公司网易集团  30-50k·16薪     大专及以上   \n",
       "15       招聘小学数学/奥数主讲（冠军班）               公司网易集团  30-60k·13薪    北京-西北旺   \n",
       "16                 招聘客户经理       公司江苏智库智能科技有限公司        7-9k     本科及以上   \n",
       "17                 招聘交付经理       公司江苏智库智能科技有限公司        7-9k     本科及以上   \n",
       "18                招聘综合管理岗               公司晋商消费       8-12k     本科及以上   \n",
       "19               招聘解决方案经理       公司江苏智库智能科技有限公司        7-9k     本科及以上   \n",
       "20             招聘区块链开发工程师           公司Rivtower  20-40k·13薪      统招本科   \n",
       "21             招聘JNBY培训专家               公司江南布衣  15-25k·15薪     大专及以上   \n",
       "22               招聘电子商务经理       公司上海小宅生物科技有限公司      10-30k     本科及以上   \n",
       "23           招聘产品经理（智能硬件）  公司上海摩象网络科技有限公司北京分公司      30-40k     本科及以上   \n",
       "24              招聘资深供应计划员       公司广州环讯商务服务有限公司       8-10k     大专及以上   \n",
       "25                 招聘人事专员       公司海南搜了科技股份有限公司        3-5k     大专及以上   \n",
       "26                 招聘招聘主管                 公司猎聘    6-9k·14薪     本科及以上   \n",
       "27                招聘工业设计师     公司芜湖凡臣电子商务有限责任公司  11-13k·13薪     本科及以上   \n",
       "28               招聘企业文化经理               公司嬴彻科技      15-20k      统招本科   \n",
       "29              招聘亚马逊精品运营      公司深圳市闪魔数码科技有限公司      10-18k     大专及以上   \n",
       "30                 招聘项目经理      公司深圳市闪魔数码科技有限公司      15-20k  中专/中技及以上   \n",
       "31             招聘（资深）招聘专家           公司PingPong  20-24k·24薪     本科及以上   \n",
       "32                招聘大客户销售           公司百望股份有限公司      15-30k    北京-海淀区   \n",
       "33       招聘店长-青瓷馆（工作地：北京）               公司摩伽科技       6-10k      学历不限   \n",
       "34               招聘基建项目主管     公司宁波工业互联网研究院有限公司  10-15k·14薪      统招本科   \n",
       "35        招聘无人驾驶规划决策算法工程师       公司洛阳问鼎智能装备有限公司   6-12k·13薪     本科及以上   \n",
       "36         招聘C++通信交互开发工程师       公司洛阳问鼎智能装备有限公司   6-12k·13薪     本科及以上   \n",
       "37           招聘机器人系统测试工程师       公司洛阳问鼎智能装备有限公司    4-7k·13薪     本科及以上   \n",
       "38                招聘大客户BD       公司成都星际港湾科技有限公司  15-25k·13薪     本科及以上   \n",
       "39       招聘小米之家专卖店店长（驻马店）                 公司小米        7-9k     大专及以上   \n",
       "\n",
       "           发布时间                                        详情页链接  \\\n",
       "0   2021年05月07日  https://www.liepin.com/job/1938253907.shtml   \n",
       "1   2021年05月07日  https://www.liepin.com/job/1937731217.shtml   \n",
       "2   2021年05月07日  https://www.liepin.com/job/1938757345.shtml   \n",
       "3   2021年05月07日  https://www.liepin.com/job/1938760363.shtml   \n",
       "4   2021年05月07日  https://www.liepin.com/job/1937720553.shtml   \n",
       "5   2021年05月07日  https://www.liepin.com/job/1938772147.shtml   \n",
       "6   2021年05月07日  https://www.liepin.com/job/1938756005.shtml   \n",
       "7   2021年05月07日  https://www.liepin.com/job/1938883577.shtml   \n",
       "8   2021年05月07日  https://www.liepin.com/job/1938881049.shtml   \n",
       "9   2021年05月07日  https://www.liepin.com/job/1938881019.shtml   \n",
       "10  2021年05月07日  https://www.liepin.com/job/1938880893.shtml   \n",
       "11  2021年05月07日  https://www.liepin.com/job/1938875853.shtml   \n",
       "12  2021年05月07日  https://www.liepin.com/job/1938875131.shtml   \n",
       "13  2021年05月07日  https://www.liepin.com/job/1938871807.shtml   \n",
       "14  2021年05月07日  https://www.liepin.com/job/1938871661.shtml   \n",
       "15  2021年05月07日  https://www.liepin.com/job/1938871305.shtml   \n",
       "16  2021年05月07日  https://www.liepin.com/job/1938867509.shtml   \n",
       "17  2021年05月07日  https://www.liepin.com/job/1938867435.shtml   \n",
       "18  2021年05月07日  https://www.liepin.com/job/1938867365.shtml   \n",
       "19  2021年05月07日  https://www.liepin.com/job/1938867071.shtml   \n",
       "20  2021年05月07日  https://www.liepin.com/job/1938863441.shtml   \n",
       "21  2021年05月07日  https://www.liepin.com/job/1938853781.shtml   \n",
       "22  2021年05月07日  https://www.liepin.com/job/1938845221.shtml   \n",
       "23  2021年05月07日  https://www.liepin.com/job/1938840913.shtml   \n",
       "24  2021年05月07日  https://www.liepin.com/job/1938827155.shtml   \n",
       "25  2021年05月07日  https://www.liepin.com/job/1938825737.shtml   \n",
       "26  2021年05月07日  https://www.liepin.com/job/1938825255.shtml   \n",
       "27  2021年05月07日  https://www.liepin.com/job/1938814779.shtml   \n",
       "28  2021年05月07日  https://www.liepin.com/job/1938803785.shtml   \n",
       "29  2021年05月07日  https://www.liepin.com/job/1938782727.shtml   \n",
       "30  2021年05月07日  https://www.liepin.com/job/1938782415.shtml   \n",
       "31  2021年05月07日  https://www.liepin.com/job/1938690497.shtml   \n",
       "32  2021年05月07日  https://www.liepin.com/job/1938672477.shtml   \n",
       "33  2021年05月07日  https://www.liepin.com/job/1938671591.shtml   \n",
       "34  2021年05月07日  https://www.liepin.com/job/1938667631.shtml   \n",
       "35  2021年05月07日  https://www.liepin.com/job/1938657097.shtml   \n",
       "36  2021年05月07日  https://www.liepin.com/job/1938656825.shtml   \n",
       "37  2021年05月07日  https://www.liepin.com/job/1938655869.shtml   \n",
       "38  2021年05月07日  https://www.liepin.com/job/1938633699.shtml   \n",
       "39  2021年05月07日  https://www.liepin.com/job/1938618991.shtml   \n",
       "\n",
       "                                      公司概况链接  \n",
       "0   https://www.liepin.com/company/12403079/  \n",
       "1    https://www.liepin.com/company/9507090/  \n",
       "2    https://www.liepin.com/company/8596328/  \n",
       "3    https://www.liepin.com/company/8212474/  \n",
       "4    https://www.liepin.com/company/8388699/  \n",
       "5   https://www.liepin.com/company/12545257/  \n",
       "6    https://www.liepin.com/company/8258587/  \n",
       "7    https://www.liepin.com/company/9897639/  \n",
       "8   https://www.liepin.com/company/12677339/  \n",
       "9    https://www.liepin.com/company/9322337/  \n",
       "10  https://www.liepin.com/company/10170711/  \n",
       "11   https://www.liepin.com/company/4124363/  \n",
       "12  https://www.liepin.com/company/10009003/  \n",
       "13   https://www.liepin.com/company/5964833/  \n",
       "14   https://www.liepin.com/company/5964833/  \n",
       "15   https://www.liepin.com/company/5964833/  \n",
       "16  https://www.liepin.com/company/12186553/  \n",
       "17  https://www.liepin.com/company/12186553/  \n",
       "18   https://www.liepin.com/company/8587605/  \n",
       "19  https://www.liepin.com/company/12186553/  \n",
       "20  https://www.liepin.com/company/12179511/  \n",
       "21   https://www.liepin.com/company/8238654/  \n",
       "22   https://www.liepin.com/company/9259002/  \n",
       "23   https://www.liepin.com/company/9570018/  \n",
       "24  https://www.liepin.com/company/12557675/  \n",
       "25  https://www.liepin.com/company/12545257/  \n",
       "26   https://www.liepin.com/company/8388699/  \n",
       "27   https://www.liepin.com/company/7902148/  \n",
       "28   https://www.liepin.com/company/9671797/  \n",
       "29   https://www.liepin.com/company/8015186/  \n",
       "30   https://www.liepin.com/company/8015186/  \n",
       "31   https://www.liepin.com/company/8756751/  \n",
       "32   https://www.liepin.com/company/8723958/  \n",
       "33   https://www.liepin.com/company/8258587/  \n",
       "34   https://www.liepin.com/company/9565863/  \n",
       "35  https://www.liepin.com/company/12598861/  \n",
       "36  https://www.liepin.com/company/12598861/  \n",
       "37  https://www.liepin.com/company/12598861/  \n",
       "38  https://www.liepin.com/company/12345229/  \n",
       "39   https://www.liepin.com/company/2174886/  "
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "change_industry('互联网/电商')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "40"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(change_industry('互联网/电商')['职称'])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 薪资"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 解析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [],
   "source": [
    "薪资_xpath = '//div[@class=\"wrap\"]//dd[contains(@data-param,\"salary\")]/a'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=10%2415&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=15%2420&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=20%2430&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=30%2450&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=50%24100&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=100%24999&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622']"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资_url = [list(i.absolute_links)[0] for i in r.html.xpath(薪资_xpath)]\n",
    "薪资_url"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 寻找url参数变化"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['10-15万', '15-20万', '20-30万', '30-50万', '50-100万', '100万以上']"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类 = r.html.xpath('//div[@class=\"wrap\"]//dd[contains(@data-param,\"salary\")]/a/text()')\n",
    "薪资分类"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{0: '10-15万', 1: '15-20万', 2: '20-30万', 3: '30-50万', 4: '50-100万', 5: '100万以上'}"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_str = {k:i for k,i in enumerate(薪资分类)}\n",
    "薪资分类_str"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'10-15万': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=10%2415',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '15-20万': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=15%2420',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '20-30万': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=20%2430',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '30-50万': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=30%2450',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '50-100万': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=50%24100',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622'],\n",
       " '100万以上': ['compkind=',\n",
       "  'dqs=',\n",
       "  'pubTime=',\n",
       "  'pageSize=40',\n",
       "  'salary=100%24999',\n",
       "  'compTag=',\n",
       "  'sortFlag=',\n",
       "  'compIds=',\n",
       "  'subIndustry=',\n",
       "  'jobKind=',\n",
       "  'industries=',\n",
       "  'compscale=',\n",
       "  'key=',\n",
       "  'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       "  'd_sfrom=search_unknown',\n",
       "  'd_ckId=4f33a177e4f6d42017eeaffb9224c622',\n",
       "  'd_curPage=0',\n",
       "  'd_pageSize=40',\n",
       "  'd_headId=4f33a177e4f6d42017eeaffb9224c622']}"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_dict = {i:薪资_url[k].split('?')[1].split('&') for k,i in enumerate(薪资分类)}\n",
    "薪资分类_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>10-15万</th>\n",
       "      <th>15-20万</th>\n",
       "      <th>20-30万</th>\n",
       "      <th>30-50万</th>\n",
       "      <th>50-100万</th>\n",
       "      <th>100万以上</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>salary=10%2415</td>\n",
       "      <td>salary=15%2420</td>\n",
       "      <td>salary=20%2430</td>\n",
       "      <td>salary=30%2450</td>\n",
       "      <td>salary=50%24100</td>\n",
       "      <td>salary=100%24999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>industries=</td>\n",
       "      <td>industries=</td>\n",
       "      <td>industries=</td>\n",
       "      <td>industries=</td>\n",
       "      <td>industries=</td>\n",
       "      <td>industries=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_ckId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "      <td>d_curPage=0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "      <td>d_headId=4f33a177e4f6d42017eeaffb9224c622</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               10-15万  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                      salary=10%2415   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                            compIds=   \n",
       "8                                        subIndustry=   \n",
       "9                                            jobKind=   \n",
       "10                                        industries=   \n",
       "11                                         compscale=   \n",
       "12                                               key=   \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "14                             d_sfrom=search_unknown   \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "16                                        d_curPage=0   \n",
       "17                                      d_pageSize=40   \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               15-20万  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                      salary=15%2420   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                            compIds=   \n",
       "8                                        subIndustry=   \n",
       "9                                            jobKind=   \n",
       "10                                        industries=   \n",
       "11                                         compscale=   \n",
       "12                                               key=   \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "14                             d_sfrom=search_unknown   \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "16                                        d_curPage=0   \n",
       "17                                      d_pageSize=40   \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               20-30万  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                      salary=20%2430   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                            compIds=   \n",
       "8                                        subIndustry=   \n",
       "9                                            jobKind=   \n",
       "10                                        industries=   \n",
       "11                                         compscale=   \n",
       "12                                               key=   \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "14                             d_sfrom=search_unknown   \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "16                                        d_curPage=0   \n",
       "17                                      d_pageSize=40   \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               30-50万  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                      salary=30%2450   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                            compIds=   \n",
       "8                                        subIndustry=   \n",
       "9                                            jobKind=   \n",
       "10                                        industries=   \n",
       "11                                         compscale=   \n",
       "12                                               key=   \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "14                             d_sfrom=search_unknown   \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "16                                        d_curPage=0   \n",
       "17                                      d_pageSize=40   \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                              50-100万  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                     salary=50%24100   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                            compIds=   \n",
       "8                                        subIndustry=   \n",
       "9                                            jobKind=   \n",
       "10                                        industries=   \n",
       "11                                         compscale=   \n",
       "12                                               key=   \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...   \n",
       "14                             d_sfrom=search_unknown   \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "16                                        d_curPage=0   \n",
       "17                                      d_pageSize=40   \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622   \n",
       "\n",
       "                                               100万以上  \n",
       "0                                           compkind=  \n",
       "1                                                dqs=  \n",
       "2                                            pubTime=  \n",
       "3                                         pageSize=40  \n",
       "4                                    salary=100%24999  \n",
       "5                                            compTag=  \n",
       "6                                           sortFlag=  \n",
       "7                                            compIds=  \n",
       "8                                        subIndustry=  \n",
       "9                                            jobKind=  \n",
       "10                                        industries=  \n",
       "11                                         compscale=  \n",
       "12                                               key=  \n",
       "13  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpX...  \n",
       "14                             d_sfrom=search_unknown  \n",
       "15            d_ckId=4f33a177e4f6d42017eeaffb9224c622  \n",
       "16                                        d_curPage=0  \n",
       "17                                      d_pageSize=40  \n",
       "18          d_headId=4f33a177e4f6d42017eeaffb9224c622  "
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_df = pd.DataFrame(薪资分类_dict)\n",
    "薪资分类_df"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 获取参数变化值"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>10-15万</th>\n",
       "      <th>15-20万</th>\n",
       "      <th>20-30万</th>\n",
       "      <th>30-50万</th>\n",
       "      <th>50-100万</th>\n",
       "      <th>100万以上</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>salary=10%2415</td>\n",
       "      <td>salary=15%2420</td>\n",
       "      <td>salary=20%2430</td>\n",
       "      <td>salary=30%2450</td>\n",
       "      <td>salary=50%24100</td>\n",
       "      <td>salary=100%24999</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           10-15万          15-20万          20-30万          30-50万  \\\n",
       "3     pageSize=40     pageSize=40     pageSize=40     pageSize=40   \n",
       "4  salary=10%2415  salary=15%2420  salary=20%2430  salary=30%2450   \n",
       "\n",
       "           50-100万            100万以上  \n",
       "3      pageSize=40       pageSize=40  \n",
       "4  salary=50%24100  salary=100%24999  "
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_df[3:5]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['salary=10%2415',\n",
       " 'salary=15%2420',\n",
       " 'salary=20%2430',\n",
       " 'salary=30%2450',\n",
       " 'salary=50%24100',\n",
       " 'salary=100%24999']"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "salaryType_list = 薪资分类_df[4:5].T[4].to_list()\n",
    "salaryType_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['salary=10%2415',\n",
       " 'salary=15%2420',\n",
       " 'salary=20%2430',\n",
       " 'salary=30%2450',\n",
       " 'salary=50%24100',\n",
       " 'salary=100%24999']"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "salary_list = 薪资分类_df[4:5].T[4].to_list()\n",
    "salary_list  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['10-15万', '15-20万', '20-30万', '30-50万', '50-100万', '100万以上']"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_名称 = 薪资分类_df.columns.to_list()\n",
    "薪资分类_名称"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['10-15万', '15-20万', '20-30万', '30-50万', '50-100万', '100万以上']"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "薪资分类_薪资 = 薪资分类_df.columns.to_list()\n",
    "薪资分类_薪资"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'10-15万': '10%2415',\n",
       " '15-20万': '15%2420',\n",
       " '20-30万': '20%2430',\n",
       " '30-50万': '30%2450',\n",
       " '50-100万': '50%24100',\n",
       " '100万以上': '100%24999'}"
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "salary_参数构建 = {薪资分类_薪资[i]:salary_list[i].split('=')[1] for i in range(len(salary_list))}\n",
    "salary_参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'10-15万': '10%2415',\n",
       " '15-20万': '15%2420',\n",
       " '20-30万': '20%2430',\n",
       " '30-50万': '30%2450',\n",
       " '50-100万': '50%24100',\n",
       " '100万以上': '100%24999'}"
      ]
     },
     "execution_count": 41,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "salary_参数构建 = {薪资分类_薪资[i]:salaryType_list[i].split('=')[1] for i in range(len(salaryType_list))}\n",
    "salary_参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "ParseResult(scheme='https', netloc='www.liepin.com', path='/zhaopin/', params='', query='compkind=&dqs=&pubTime=&pageSize=40&salary=15%2420&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622', fragment='')\n"
     ]
    }
   ],
   "source": [
    "参数模版 = urllib.parse.urlparse(薪资_url[1])\n",
    "\n",
    "print(参数模版)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'compkind': '',\n",
       " 'dqs': '',\n",
       " 'pubTime': '',\n",
       " 'pageSize': '40',\n",
       " 'salary': '15%2420',\n",
       " 'compTag': '',\n",
       " 'sortFlag': '',\n",
       " 'compIds': '',\n",
       " 'subIndustry': '',\n",
       " 'jobKind': '',\n",
       " 'industries': '',\n",
       " 'compscale': '',\n",
       " 'key': '',\n",
       " 'siTag': '1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       " 'd_sfrom': 'search_unknown',\n",
       " 'd_ckId': '4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'd_curPage': '0',\n",
       " 'd_pageSize': '40',\n",
       " 'd_headId': '4f33a177e4f6d42017eeaffb9224c622'}"
      ]
     },
     "execution_count": 59,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模版.query.split(\"&\")\n",
    "参数模版_dict = {  i.split('=')[0]   :    i.split('=')[1]          for i in 参数模版.query.split(\"&\")}\n",
    "参数模版_dict"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "metadata": {},
   "outputs": [],
   "source": [
    "def 参数模板(i):\n",
    "    salary_values = salary_参数构建[i]\n",
    "    \n",
    "    参数模版_dict[\"salary\"] = salary_values\n",
    "    \n",
    "    return (参数模版_dict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'compkind': '',\n",
       " 'dqs': '',\n",
       " 'pubTime': '',\n",
       " 'pageSize': '40',\n",
       " 'salary': '10%2415',\n",
       " 'compTag': '',\n",
       " 'sortFlag': '',\n",
       " 'compIds': '',\n",
       " 'subIndustry': '',\n",
       " 'jobKind': '',\n",
       " 'industries': '',\n",
       " 'compscale': '',\n",
       " 'key': '',\n",
       " 'siTag': '1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw',\n",
       " 'd_sfrom': 'search_unknown',\n",
       " 'd_ckId': '4f33a177e4f6d42017eeaffb9224c622',\n",
       " 'd_curPage': '0',\n",
       " 'd_pageSize': '40',\n",
       " 'd_headId': '4f33a177e4f6d42017eeaffb9224c622'}"
      ]
     },
     "execution_count": 78,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模板('10-15万')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 79,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['https',\n",
       " 'www.liepin.com',\n",
       " '/zhaopin/',\n",
       " '',\n",
       " 'compkind=&dqs=&pubTime=&pageSize=40&salary=15%2420&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622',\n",
       " '']"
      ]
     },
     "execution_count": 79,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "参数模版_list = pd.Series(参数模版).tolist()\n",
    "参数模版_list"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 构建url模板"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {},
   "outputs": [],
   "source": [
    "def url_参数模板(i):\n",
    "    salary_values =  salary_参数构建[i]\n",
    "    参数模版_dict[\"salary\"] =  salary_values\n",
    "    query_new = \"&\".join([k+\"=\"+v for k,v in 参数模版_dict.items()]) # 新生成的query\n",
    "    参数模版_list[4] = query_new\n",
    "    url_参数 =  urllib.parse.urlunparse(参数模版_list)      \n",
    "    return (url_参数)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 81,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=10%2415&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622'"
      ]
     },
     "execution_count": 81,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    " url_参数模板('10-15万')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 爬取数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 82,
   "metadata": {},
   "outputs": [],
   "source": [
    "def change_salary(i):\n",
    "    url = url_参数模板(i)\n",
    "    session = HTMLSession()\n",
    "    r = session.get( url )\n",
    "\n",
    "    dict_xpaths = {\n",
    "    \"职称\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title',\n",
    "    \"公司名称\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title',\n",
    "    \"薪水\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()',\n",
    "    \"经验\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()',\n",
    "    \"发布时间\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title',\n",
    "    \"详情页链接\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href',\n",
    "    \"公司概况链接\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p[contains(@class,\"company-name\")]/a/@href',\n",
    "    }\n",
    "\n",
    "    主要元素 = r.html.xpath( \\\n",
    "    '//div[@class=\"job-content\"]/div[@class=\"sojob-result \"]')\n",
    "    数据字典 = {k:r.html.xpath(v) for k,v in dict_xpaths.items()}\n",
    "    数据 = pd.DataFrame(数据字典)\n",
    "    \n",
    "    return(数据)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 83,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>职称</th>\n",
       "      <th>公司名称</th>\n",
       "      <th>薪水</th>\n",
       "      <th>经验</th>\n",
       "      <th>发布时间</th>\n",
       "      <th>详情页链接</th>\n",
       "      <th>公司概况链接</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>招聘销售会计（案场收款）</td>\n",
       "      <td>公司卓越置业集团北京有限公司</td>\n",
       "      <td>4-6k·16薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938797069.shtml</td>\n",
       "      <td>https://www.liepin.com/company/3410883/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>招聘大宗货物物流营销</td>\n",
       "      <td>公司建华物流有限公司</td>\n",
       "      <td>5-14k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938787375.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7919082/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>招聘用户运营</td>\n",
       "      <td>公司领聚数字</td>\n",
       "      <td>10-15k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938788245.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12418385/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>招聘雄安商服会展中心人力资源经理</td>\n",
       "      <td>公司北京北辰会展集团有限公司</td>\n",
       "      <td>10-16k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938793219.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9149188/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>招聘招投标工程师</td>\n",
       "      <td>公司信通达智能科技有限公司</td>\n",
       "      <td>5-10k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938790031.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9487008/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>招聘良信智能-销售工程师</td>\n",
       "      <td>公司良信电器</td>\n",
       "      <td>8-10k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938790911.shtml</td>\n",
       "      <td>https://www.liepin.com/company/862853/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>招聘人力资源经理</td>\n",
       "      <td>公司好媳妇</td>\n",
       "      <td>10-13k</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938861633.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12445239/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>招聘招聘专员/助理</td>\n",
       "      <td>公司中科微至</td>\n",
       "      <td>7-10k·14薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938884491.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9518403/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>招聘行政人事经理</td>\n",
       "      <td>公司劲威生物医药科技有限公司</td>\n",
       "      <td>10-18k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938883729.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12387955/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>招聘长晶工程师/晶体生长工程师/加工工程师/研发工程师</td>\n",
       "      <td>公司国宏中晶集团有限公司</td>\n",
       "      <td>12-20k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938883509.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12240849/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>招聘女装买手</td>\n",
       "      <td>公司杭州辛橙信息科技有限公司</td>\n",
       "      <td>10-17k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938881049.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12677339/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>招聘人力资源经理</td>\n",
       "      <td>公司浙江孚临科技有限公司</td>\n",
       "      <td>10-20k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938881019.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9322337/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>招聘网络/在线销售</td>\n",
       "      <td>公司天津市塘沽津滨阀门有限公司</td>\n",
       "      <td>面议</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938880149.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8324685/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>招聘招聘主管（专员）</td>\n",
       "      <td>公司兰精(南京)纤维有限公司</td>\n",
       "      <td>7-15k·14薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938880145.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7940070/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>招聘财务经理助理</td>\n",
       "      <td>公司四川双铁科技有限公司</td>\n",
       "      <td>7-12k</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938879993.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9390829/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>招聘市场主管</td>\n",
       "      <td>公司西安美杰姆商务信息咨询有限公司</td>\n",
       "      <td>4-9k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938879345.shtml</td>\n",
       "      <td>https://www.liepin.com/company/10199263/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>招聘招聘主管</td>\n",
       "      <td>公司中饮巴比食品股份有限公司</td>\n",
       "      <td>8-13k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938879099.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7885099/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>招聘人力资源经理</td>\n",
       "      <td>公司永臻科技</td>\n",
       "      <td>8-10k</td>\n",
       "      <td>滁州-琅琊区</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938878657.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9785379/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>招聘公益项目主管</td>\n",
       "      <td>公司九阳股份</td>\n",
       "      <td>7-9k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938878349.shtml</td>\n",
       "      <td>https://www.liepin.com/company/1975753/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>招聘金工车间主任</td>\n",
       "      <td>公司上海上力防爆电机集团有限公司</td>\n",
       "      <td>10-15k</td>\n",
       "      <td>中专/中技及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938878079.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8162652/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>招聘文案</td>\n",
       "      <td>公司中兆置业</td>\n",
       "      <td>面议</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938876551.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9669071/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>招聘工艺工程师</td>\n",
       "      <td>公司特恩驰</td>\n",
       "      <td>6-9k·14薪</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938876515.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7944472/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>招聘新媒介投放</td>\n",
       "      <td>公司grin</td>\n",
       "      <td>12-20k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938874473.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12255803/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>招聘区域销售经理</td>\n",
       "      <td>公司南玻</td>\n",
       "      <td>7-15k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938874073.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9091167/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>招聘销售代表/销售经理/管理培训生（华为系/年薪10万起）</td>\n",
       "      <td>公司牙领科技</td>\n",
       "      <td>6-12k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938874071.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9265366/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>招聘策略运营主管</td>\n",
       "      <td>公司中远酒店物业管理有限公司</td>\n",
       "      <td>8-10k·13薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938873595.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9151154/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>招聘点评微生活-大客户销售</td>\n",
       "      <td>公司成都乐育</td>\n",
       "      <td>11-17k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938873571.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12340735/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>招聘兽医</td>\n",
       "      <td>公司正大集团中东南区</td>\n",
       "      <td>10-20k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938873051.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12614525/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>招聘招聘专员</td>\n",
       "      <td>公司平安人寿新渠道事业部</td>\n",
       "      <td>10-15k</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938872313.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8853774/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>招聘财务经理</td>\n",
       "      <td>公司乾翔健康</td>\n",
       "      <td>7-10k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938871547.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12517797/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>招聘餐饮负责人</td>\n",
       "      <td>公司宋城集团</td>\n",
       "      <td>10-25k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938870095.shtml</td>\n",
       "      <td>https://www.liepin.com/company/1043007/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>招聘嵌入式软件开发</td>\n",
       "      <td>公司江苏久信</td>\n",
       "      <td>10-20k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938869457.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8906509/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>招聘建筑方案设计师（公建）</td>\n",
       "      <td>公司上海联创设计集团股份有限公司武汉分公司</td>\n",
       "      <td>7-15k·20薪</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938869273.shtml</td>\n",
       "      <td>https://www.liepin.com/company/9953403/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>招聘材料工程师</td>\n",
       "      <td>公司安方高科电磁安全技术(北京)有限公司</td>\n",
       "      <td>10-15k</td>\n",
       "      <td>北京-海淀区</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938869177.shtml</td>\n",
       "      <td>https://www.liepin.com/company/7916188/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>招聘客户经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867509.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>招聘交付经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867435.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>招聘综合管理岗</td>\n",
       "      <td>公司晋商消费</td>\n",
       "      <td>8-12k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867365.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8587605/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>招聘解决方案经理</td>\n",
       "      <td>公司江苏智库智能科技有限公司</td>\n",
       "      <td>7-9k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938867071.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12186553/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>招聘行政主厨</td>\n",
       "      <td>公司喜荟萃</td>\n",
       "      <td>10-12k</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938866987.shtml</td>\n",
       "      <td>https://www.liepin.com/company/12541505/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>招聘销售主管</td>\n",
       "      <td>公司四川税友</td>\n",
       "      <td>10-15k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938866929.shtml</td>\n",
       "      <td>https://www.liepin.com/company/8790753/</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                               职称                   公司名称          薪水  \\\n",
       "0                    招聘销售会计（案场收款）         公司卓越置业集团北京有限公司    4-6k·16薪   \n",
       "1                      招聘大宗货物物流营销             公司建华物流有限公司       5-14k   \n",
       "2                          招聘用户运营                 公司领聚数字      10-15k   \n",
       "3                招聘雄安商服会展中心人力资源经理         公司北京北辰会展集团有限公司      10-16k   \n",
       "4                        招聘招投标工程师          公司信通达智能科技有限公司       5-10k   \n",
       "5                    招聘良信智能-销售工程师                 公司良信电器       8-10k   \n",
       "6                        招聘人力资源经理                  公司好媳妇      10-13k   \n",
       "7                       招聘招聘专员/助理                 公司中科微至   7-10k·14薪   \n",
       "8                        招聘行政人事经理         公司劲威生物医药科技有限公司  10-18k·13薪   \n",
       "9     招聘长晶工程师/晶体生长工程师/加工工程师/研发工程师           公司国宏中晶集团有限公司      12-20k   \n",
       "10                         招聘女装买手         公司杭州辛橙信息科技有限公司      10-17k   \n",
       "11                       招聘人力资源经理           公司浙江孚临科技有限公司      10-20k   \n",
       "12                      招聘网络/在线销售        公司天津市塘沽津滨阀门有限公司          面议   \n",
       "13                     招聘招聘主管（专员）         公司兰精(南京)纤维有限公司   7-15k·14薪   \n",
       "14                       招聘财务经理助理           公司四川双铁科技有限公司       7-12k   \n",
       "15                         招聘市场主管      公司西安美杰姆商务信息咨询有限公司        4-9k   \n",
       "16                         招聘招聘主管         公司中饮巴比食品股份有限公司   8-13k·13薪   \n",
       "17                       招聘人力资源经理                 公司永臻科技       8-10k   \n",
       "18                       招聘公益项目主管                 公司九阳股份    7-9k·13薪   \n",
       "19                       招聘金工车间主任       公司上海上力防爆电机集团有限公司      10-15k   \n",
       "20                           招聘文案                 公司中兆置业          面议   \n",
       "21                        招聘工艺工程师                  公司特恩驰    6-9k·14薪   \n",
       "22                        招聘新媒介投放                 公司grin      12-20k   \n",
       "23                       招聘区域销售经理                   公司南玻       7-15k   \n",
       "24  招聘销售代表/销售经理/管理培训生（华为系/年薪10万起）                 公司牙领科技       6-12k   \n",
       "25                       招聘策略运营主管         公司中远酒店物业管理有限公司   8-10k·13薪   \n",
       "26                  招聘点评微生活-大客户销售                 公司成都乐育      11-17k   \n",
       "27                           招聘兽医             公司正大集团中东南区      10-20k   \n",
       "28                         招聘招聘专员           公司平安人寿新渠道事业部      10-15k   \n",
       "29                         招聘财务经理                 公司乾翔健康       7-10k   \n",
       "30                        招聘餐饮负责人                 公司宋城集团      10-25k   \n",
       "31                      招聘嵌入式软件开发                 公司江苏久信  10-20k·13薪   \n",
       "32                  招聘建筑方案设计师（公建）  公司上海联创设计集团股份有限公司武汉分公司   7-15k·20薪   \n",
       "33                        招聘材料工程师   公司安方高科电磁安全技术(北京)有限公司      10-15k   \n",
       "34                         招聘客户经理         公司江苏智库智能科技有限公司        7-9k   \n",
       "35                         招聘交付经理         公司江苏智库智能科技有限公司        7-9k   \n",
       "36                        招聘综合管理岗                 公司晋商消费       8-12k   \n",
       "37                       招聘解决方案经理         公司江苏智库智能科技有限公司        7-9k   \n",
       "38                         招聘行政主厨                  公司喜荟萃      10-12k   \n",
       "39                         招聘销售主管                 公司四川税友      10-15k   \n",
       "\n",
       "          经验         发布时间                                        详情页链接  \\\n",
       "0      大专及以上  2021年05月07日  https://www.liepin.com/job/1938797069.shtml   \n",
       "1      大专及以上  2021年05月07日  https://www.liepin.com/job/1938787375.shtml   \n",
       "2      大专及以上  2021年05月07日  https://www.liepin.com/job/1938788245.shtml   \n",
       "3      大专及以上  2021年05月07日  https://www.liepin.com/job/1938793219.shtml   \n",
       "4      大专及以上  2021年05月07日  https://www.liepin.com/job/1938790031.shtml   \n",
       "5      大专及以上  2021年05月07日  https://www.liepin.com/job/1938790911.shtml   \n",
       "6       统招本科  2021年05月07日  https://www.liepin.com/job/1938861633.shtml   \n",
       "7      本科及以上  2021年05月07日  https://www.liepin.com/job/1938884491.shtml   \n",
       "8      本科及以上  2021年05月07日  https://www.liepin.com/job/1938883729.shtml   \n",
       "9      本科及以上  2021年05月07日  https://www.liepin.com/job/1938883509.shtml   \n",
       "10     大专及以上  2021年05月07日  https://www.liepin.com/job/1938881049.shtml   \n",
       "11     大专及以上  2021年05月07日  https://www.liepin.com/job/1938881019.shtml   \n",
       "12      学历不限  2021年05月07日  https://www.liepin.com/job/1938880149.shtml   \n",
       "13     本科及以上  2021年05月07日  https://www.liepin.com/job/1938880145.shtml   \n",
       "14      统招本科  2021年05月07日  https://www.liepin.com/job/1938879993.shtml   \n",
       "15     大专及以上  2021年05月07日  https://www.liepin.com/job/1938879345.shtml   \n",
       "16     本科及以上  2021年05月07日  https://www.liepin.com/job/1938879099.shtml   \n",
       "17    滁州-琅琊区  2021年05月07日  https://www.liepin.com/job/1938878657.shtml   \n",
       "18     本科及以上  2021年05月07日  https://www.liepin.com/job/1938878349.shtml   \n",
       "19  中专/中技及以上  2021年05月07日  https://www.liepin.com/job/1938878079.shtml   \n",
       "20     大专及以上  2021年05月07日  https://www.liepin.com/job/1938876551.shtml   \n",
       "21      统招本科  2021年05月07日  https://www.liepin.com/job/1938876515.shtml   \n",
       "22     本科及以上  2021年05月07日  https://www.liepin.com/job/1938874473.shtml   \n",
       "23     本科及以上  2021年05月07日  https://www.liepin.com/job/1938874073.shtml   \n",
       "24     大专及以上  2021年05月07日  https://www.liepin.com/job/1938874071.shtml   \n",
       "25     大专及以上  2021年05月07日  https://www.liepin.com/job/1938873595.shtml   \n",
       "26     大专及以上  2021年05月07日  https://www.liepin.com/job/1938873571.shtml   \n",
       "27     大专及以上  2021年05月07日  https://www.liepin.com/job/1938873051.shtml   \n",
       "28      统招本科  2021年05月07日  https://www.liepin.com/job/1938872313.shtml   \n",
       "29     大专及以上  2021年05月07日  https://www.liepin.com/job/1938871547.shtml   \n",
       "30     大专及以上  2021年05月07日  https://www.liepin.com/job/1938870095.shtml   \n",
       "31     本科及以上  2021年05月07日  https://www.liepin.com/job/1938869457.shtml   \n",
       "32      统招本科  2021年05月07日  https://www.liepin.com/job/1938869273.shtml   \n",
       "33    北京-海淀区  2021年05月07日  https://www.liepin.com/job/1938869177.shtml   \n",
       "34     本科及以上  2021年05月07日  https://www.liepin.com/job/1938867509.shtml   \n",
       "35     本科及以上  2021年05月07日  https://www.liepin.com/job/1938867435.shtml   \n",
       "36     本科及以上  2021年05月07日  https://www.liepin.com/job/1938867365.shtml   \n",
       "37     本科及以上  2021年05月07日  https://www.liepin.com/job/1938867071.shtml   \n",
       "38      学历不限  2021年05月07日  https://www.liepin.com/job/1938866987.shtml   \n",
       "39     大专及以上  2021年05月07日  https://www.liepin.com/job/1938866929.shtml   \n",
       "\n",
       "                                      公司概况链接  \n",
       "0    https://www.liepin.com/company/3410883/  \n",
       "1    https://www.liepin.com/company/7919082/  \n",
       "2   https://www.liepin.com/company/12418385/  \n",
       "3    https://www.liepin.com/company/9149188/  \n",
       "4    https://www.liepin.com/company/9487008/  \n",
       "5     https://www.liepin.com/company/862853/  \n",
       "6   https://www.liepin.com/company/12445239/  \n",
       "7    https://www.liepin.com/company/9518403/  \n",
       "8   https://www.liepin.com/company/12387955/  \n",
       "9   https://www.liepin.com/company/12240849/  \n",
       "10  https://www.liepin.com/company/12677339/  \n",
       "11   https://www.liepin.com/company/9322337/  \n",
       "12   https://www.liepin.com/company/8324685/  \n",
       "13   https://www.liepin.com/company/7940070/  \n",
       "14   https://www.liepin.com/company/9390829/  \n",
       "15  https://www.liepin.com/company/10199263/  \n",
       "16   https://www.liepin.com/company/7885099/  \n",
       "17   https://www.liepin.com/company/9785379/  \n",
       "18   https://www.liepin.com/company/1975753/  \n",
       "19   https://www.liepin.com/company/8162652/  \n",
       "20   https://www.liepin.com/company/9669071/  \n",
       "21   https://www.liepin.com/company/7944472/  \n",
       "22  https://www.liepin.com/company/12255803/  \n",
       "23   https://www.liepin.com/company/9091167/  \n",
       "24   https://www.liepin.com/company/9265366/  \n",
       "25   https://www.liepin.com/company/9151154/  \n",
       "26  https://www.liepin.com/company/12340735/  \n",
       "27  https://www.liepin.com/company/12614525/  \n",
       "28   https://www.liepin.com/company/8853774/  \n",
       "29  https://www.liepin.com/company/12517797/  \n",
       "30   https://www.liepin.com/company/1043007/  \n",
       "31   https://www.liepin.com/company/8906509/  \n",
       "32   https://www.liepin.com/company/9953403/  \n",
       "33   https://www.liepin.com/company/7916188/  \n",
       "34  https://www.liepin.com/company/12186553/  \n",
       "35  https://www.liepin.com/company/12186553/  \n",
       "36   https://www.liepin.com/company/8587605/  \n",
       "37  https://www.liepin.com/company/12186553/  \n",
       "38  https://www.liepin.com/company/12541505/  \n",
       "39   https://www.liepin.com/company/8790753/  "
      ]
     },
     "execution_count": 83,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "change_salary('10-15万')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 84,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "40"
      ]
     },
     "execution_count": 84,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(change_salary('10-15万')['薪水'])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 模板"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "metadata": {},
   "outputs": [],
   "source": [
    "def 参数模板(i):\n",
    "    salary_values = salary_参数构建[i]\n",
    "    参数模版_dict[\"salary\"] = salary_values\n",
    "    return (参数模版_dict)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'互联网/电商': '040',\n",
       " '游戏产业': '420',\n",
       " '计算机软件': '010',\n",
       " 'IT服务': '030',\n",
       " '电子/芯片/半导体': '050',\n",
       " '通信业': '060',\n",
       " '计算机/网络设备': '020',\n",
       " '房地产/建筑': '080',\n",
       " '规划/设计/装潢': '100',\n",
       " '房地产服务': '090',\n",
       " '银行': '130',\n",
       " '保险': '140',\n",
       " '基金/证券/投资': '150',\n",
       " '会计/审计': '430',\n",
       " '信托/担保/拍卖': '500',\n",
       " '快消品': '190',\n",
       " '批发零售': '240',\n",
       " '服装纺织': '200',\n",
       " '家具/家电': '210',\n",
       " '办公设备': '220',\n",
       " '奢侈品/收藏品': '460',\n",
       " '珠宝/玩具/工艺品': '470',\n",
       " '汽车/摩托车': '350',\n",
       " '机械/机电/重工': '360',\n",
       " '印刷/包装/造纸': '180',\n",
       " '原材料加工': '370',\n",
       " '仪器/电气/自动化': '340',\n",
       " '制药/生物工程': '270',\n",
       " '医疗/保健/美容': '280',\n",
       " '医疗器械': '290',\n",
       " '能源/水利': '330',\n",
       " '石油/化工': '310',\n",
       " '采掘/冶炼/矿产': '320',\n",
       " '环保': '300',\n",
       " '新能源': '490',\n",
       " '专业服务': '120',\n",
       " '中介服务': '110',\n",
       " '外包服务': '440',\n",
       " '检测/认证': '450',\n",
       " '餐饮/酒旅/服务': '230',\n",
       " '文体娱乐': '260',\n",
       " '租赁服务': '510',\n",
       " '广告/市场/会展': '070',\n",
       " '影视文化': '170',\n",
       " '教育培训': '380',\n",
       " '交通/物流/运输': '250',\n",
       " '贸易/进出口': '160',\n",
       " '航空/航天': '480',\n",
       " '政务/公共服务': '390',\n",
       " '农林牧渔': '410',\n",
       " '其他行业': '400'}"
      ]
     },
     "execution_count": 69,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "industries_参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'10-15万': '10%2415',\n",
       " '15-20万': '15%2420',\n",
       " '20-30万': '20%2430',\n",
       " '30-50万': '30%2450',\n",
       " '50-100万': '50%24100',\n",
       " '100万以上': '100%24999'}"
      ]
     },
     "execution_count": 70,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "salary_参数构建"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "metadata": {},
   "outputs": [],
   "source": [
    "def url_参数模板(industries=None,salary=None):\n",
    "    salary_values =  salary_参数构建[salary]\n",
    "    industries_values = industries_参数构建[industries]\n",
    "    参数模版_dict[\"salary\"] =  salary_values\n",
    "    参数模版_dict[\"industries\"] = industries_values\n",
    "    query_new = \"&\".join([k+\"=\"+v for k,v in 参数模版_dict.items()]) # 新生成的query\n",
    "    参数模版_list[4] = query_new\n",
    "    url_参数 =  urllib.parse.urlunparse(参数模版_list)      \n",
    "    return (url_参数)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 94,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=10%2415&compTag=&sortFlag=&compIds=&subIndustry=&jobKind=&industries=420&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7EfA9rXquZc5IkJpXC-Ycixw&d_sfrom=search_unknown&d_ckId=4f33a177e4f6d42017eeaffb9224c622&d_curPage=0&d_pageSize=40&d_headId=4f33a177e4f6d42017eeaffb9224c622'"
      ]
     },
     "execution_count": 94,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    " url_参数模板(industries='游戏产业',salary='10-15万')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 翻页"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 120,
   "metadata": {},
   "outputs": [],
   "source": [
    "base_url_01 = 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=2&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage=0'\n",
    "base_url_02 = 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=0&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage=1'\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 121,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['compkind=',\n",
       " 'dqs=',\n",
       " 'pubTime=',\n",
       " 'pageSize=40',\n",
       " 'salary=',\n",
       " 'compTag=',\n",
       " 'sortFlag=',\n",
       " 'degradeFlag=0',\n",
       " 'compIds=',\n",
       " 'subIndustry=',\n",
       " 'jobKind=',\n",
       " 'industries=040',\n",
       " 'compscale=',\n",
       " 'key=',\n",
       " 'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g',\n",
       " 'd_sfrom=search_unknown',\n",
       " 'd_ckId=3dae0201d5e633a043dd9b3de92f51b6',\n",
       " 'd_curPage=2',\n",
       " 'd_pageSize=40',\n",
       " 'd_headId=9f9592e5ff65ada9ec4b28a6d8d91d10',\n",
       " 'curPage=0']"
      ]
     },
     "execution_count": 121,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "base_url_01 = base_url_01.split(\"?\")[1].split('&')\n",
    "base_url_01"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 122,
   "metadata": {},
   "outputs": [],
   "source": [
    "base_url_01 = pd.Series(base_url_01,name=\"base_url_01\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 123,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['compkind=',\n",
       " 'dqs=',\n",
       " 'pubTime=',\n",
       " 'pageSize=40',\n",
       " 'salary=',\n",
       " 'compTag=',\n",
       " 'sortFlag=',\n",
       " 'degradeFlag=0',\n",
       " 'compIds=',\n",
       " 'subIndustry=',\n",
       " 'jobKind=',\n",
       " 'industries=040',\n",
       " 'compscale=',\n",
       " 'key=',\n",
       " 'siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g',\n",
       " 'd_sfrom=search_unknown',\n",
       " 'd_ckId=3dae0201d5e633a043dd9b3de92f51b6',\n",
       " 'd_curPage=0',\n",
       " 'd_pageSize=40',\n",
       " 'd_headId=9f9592e5ff65ada9ec4b28a6d8d91d10',\n",
       " 'curPage=1']"
      ]
     },
     "execution_count": 123,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\n",
    "页码 = ['第一页','第二页']\n",
    "links = [base_url_01,base_url_02]\n",
    "base_url_02 = base_url_02.split(\"?\")[1].split('&')\n",
    "base_url_02"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 126,
   "metadata": {},
   "outputs": [],
   "source": [
    "base_url_02 = pd.Series(base_url_02,name=\"base_url_02\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 127,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>base_url_01</th>\n",
       "      <th>base_url_02</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>compkind=</td>\n",
       "      <td>compkind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>dqs=</td>\n",
       "      <td>dqs=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>pubTime=</td>\n",
       "      <td>pubTime=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>pageSize=40</td>\n",
       "      <td>pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>salary=</td>\n",
       "      <td>salary=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>compTag=</td>\n",
       "      <td>compTag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>sortFlag=</td>\n",
       "      <td>sortFlag=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>degradeFlag=0</td>\n",
       "      <td>degradeFlag=0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>compIds=</td>\n",
       "      <td>compIds=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>subIndustry=</td>\n",
       "      <td>subIndustry=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>jobKind=</td>\n",
       "      <td>jobKind=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>industries=040</td>\n",
       "      <td>industries=040</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>compscale=</td>\n",
       "      <td>compscale=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>key=</td>\n",
       "      <td>key=</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3a...</td>\n",
       "      <td>siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3a...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "      <td>d_sfrom=search_unknown</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>d_ckId=3dae0201d5e633a043dd9b3de92f51b6</td>\n",
       "      <td>d_ckId=3dae0201d5e633a043dd9b3de92f51b6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>d_curPage=2</td>\n",
       "      <td>d_curPage=0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>d_pageSize=40</td>\n",
       "      <td>d_pageSize=40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10</td>\n",
       "      <td>d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>curPage=0</td>\n",
       "      <td>curPage=1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                          base_url_01  \\\n",
       "0                                           compkind=   \n",
       "1                                                dqs=   \n",
       "2                                            pubTime=   \n",
       "3                                         pageSize=40   \n",
       "4                                             salary=   \n",
       "5                                            compTag=   \n",
       "6                                           sortFlag=   \n",
       "7                                       degradeFlag=0   \n",
       "8                                            compIds=   \n",
       "9                                        subIndustry=   \n",
       "10                                           jobKind=   \n",
       "11                                     industries=040   \n",
       "12                                         compscale=   \n",
       "13                                               key=   \n",
       "14  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3a...   \n",
       "15                             d_sfrom=search_unknown   \n",
       "16            d_ckId=3dae0201d5e633a043dd9b3de92f51b6   \n",
       "17                                        d_curPage=2   \n",
       "18                                      d_pageSize=40   \n",
       "19          d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10   \n",
       "20                                          curPage=0   \n",
       "\n",
       "                                          base_url_02  \n",
       "0                                           compkind=  \n",
       "1                                                dqs=  \n",
       "2                                            pubTime=  \n",
       "3                                         pageSize=40  \n",
       "4                                             salary=  \n",
       "5                                            compTag=  \n",
       "6                                           sortFlag=  \n",
       "7                                       degradeFlag=0  \n",
       "8                                            compIds=  \n",
       "9                                        subIndustry=  \n",
       "10                                           jobKind=  \n",
       "11                                     industries=040  \n",
       "12                                         compscale=  \n",
       "13                                               key=  \n",
       "14  siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3a...  \n",
       "15                             d_sfrom=search_unknown  \n",
       "16            d_ckId=3dae0201d5e633a043dd9b3de92f51b6  \n",
       "17                                        d_curPage=0  \n",
       "18                                      d_pageSize=40  \n",
       "19          d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10  \n",
       "20                                          curPage=1  "
      ]
     },
     "execution_count": 127,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "区别 = pd.concat([base_url_01,base_url_02],axis=1)\n",
    "区别"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 136,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>base_url_01</th>\n",
       "      <th>base_url_02</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>d_curPage=2</td>\n",
       "      <td>d_curPage=0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    base_url_01  base_url_02\n",
       "17  d_curPage=2  d_curPage=0"
      ]
     },
     "execution_count": 136,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "区别[17:18]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 125,
   "metadata": {},
   "outputs": [],
   "source": [
    "页码 = ['第一页','第二页']\n",
    "links = [base_url_01,base_url_02]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "* 爬取数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>职称</th>\n",
       "      <th>公司名称</th>\n",
       "      <th>薪水</th>\n",
       "      <th>经验</th>\n",
       "      <th>发布时间</th>\n",
       "      <th>详情页链接</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>招聘电子商务经理</td>\n",
       "      <td>公司上海小宅生物科技有限公司</td>\n",
       "      <td>10-30k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938845221.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>招聘产品经理（智能硬件）</td>\n",
       "      <td>公司上海摩象网络科技有限公司北京分公司</td>\n",
       "      <td>30-40k</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938840913.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>招聘JNBY培训专家</td>\n",
       "      <td>公司江南布衣</td>\n",
       "      <td>15-25k·15薪</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938853781.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>招聘HRBP</td>\n",
       "      <td>公司北京米连科技有限公司</td>\n",
       "      <td>15-30k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938875131.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>招聘人事专员</td>\n",
       "      <td>公司海南搜了科技股份有限公司</td>\n",
       "      <td>3-5k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年05月07日</td>\n",
       "      <td>https://www.liepin.com/job/1938825737.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>435</th>\n",
       "      <td>招聘合规审查（KYC）经理</td>\n",
       "      <td>公司欧科互动网络科技(北京)有限公司</td>\n",
       "      <td>20-30k</td>\n",
       "      <td>北京-海淀区</td>\n",
       "      <td>2021年04月28日</td>\n",
       "      <td>https://www.liepin.com/job/1938721291.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>436</th>\n",
       "      <td>招聘大客户销售专员</td>\n",
       "      <td>公司光云科技</td>\n",
       "      <td>12-20k</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>2021年04月28日</td>\n",
       "      <td>https://www.liepin.com/job/1938720033.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>437</th>\n",
       "      <td>招聘解决方案部经理</td>\n",
       "      <td>公司江苏盖睿健康科技有限公司</td>\n",
       "      <td>20-40k·13薪</td>\n",
       "      <td>本科及以上</td>\n",
       "      <td>2021年04月28日</td>\n",
       "      <td>https://www.liepin.com/job/1938699887.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>438</th>\n",
       "      <td>招聘电商运营</td>\n",
       "      <td>公司浙江因特佳智能科技有限公司</td>\n",
       "      <td>6-12k</td>\n",
       "      <td>大专及以上</td>\n",
       "      <td>2021年04月28日</td>\n",
       "      <td>https://www.liepin.com/job/1938605611.shtml</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>439</th>\n",
       "      <td>招聘校园业务BD经理</td>\n",
       "      <td>公司好未来</td>\n",
       "      <td>10-20k</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>2021年04月27日</td>\n",
       "      <td>https://www.liepin.com/job/1938672365.shtml</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>440 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                职称                 公司名称          薪水      经验         发布时间  \\\n",
       "0         招聘电子商务经理       公司上海小宅生物科技有限公司      10-30k   本科及以上  2021年05月07日   \n",
       "1     招聘产品经理（智能硬件）  公司上海摩象网络科技有限公司北京分公司      30-40k   本科及以上  2021年05月07日   \n",
       "2       招聘JNBY培训专家               公司江南布衣  15-25k·15薪   大专及以上  2021年05月07日   \n",
       "3           招聘HRBP         公司北京米连科技有限公司  15-30k·13薪   本科及以上  2021年05月07日   \n",
       "4           招聘人事专员       公司海南搜了科技股份有限公司        3-5k   大专及以上  2021年05月07日   \n",
       "..             ...                  ...         ...     ...          ...   \n",
       "435  招聘合规审查（KYC）经理   公司欧科互动网络科技(北京)有限公司      20-30k  北京-海淀区  2021年04月28日   \n",
       "436      招聘大客户销售专员               公司光云科技      12-20k    学历不限  2021年04月28日   \n",
       "437      招聘解决方案部经理       公司江苏盖睿健康科技有限公司  20-40k·13薪   本科及以上  2021年04月28日   \n",
       "438         招聘电商运营      公司浙江因特佳智能科技有限公司       6-12k   大专及以上  2021年04月28日   \n",
       "439     招聘校园业务BD经理                公司好未来      10-20k    统招本科  2021年04月27日   \n",
       "\n",
       "                                           详情页链接  \n",
       "0    https://www.liepin.com/job/1938845221.shtml  \n",
       "1    https://www.liepin.com/job/1938840913.shtml  \n",
       "2    https://www.liepin.com/job/1938853781.shtml  \n",
       "3    https://www.liepin.com/job/1938875131.shtml  \n",
       "4    https://www.liepin.com/job/1938825737.shtml  \n",
       "..                                           ...  \n",
       "435  https://www.liepin.com/job/1938721291.shtml  \n",
       "436  https://www.liepin.com/job/1938720033.shtml  \n",
       "437  https://www.liepin.com/job/1938699887.shtml  \n",
       "438  https://www.liepin.com/job/1938605611.shtml  \n",
       "439  https://www.liepin.com/job/1938672365.shtml  \n",
       "\n",
       "[440 rows x 6 columns]"
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "session = HTMLSession()\n",
    "r = session.get(base_url_01)\n",
    "职称 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title')\n",
    "公司名称 = r.html.xpath('.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title')\n",
    "薪水 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()')\n",
    "经验 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()')\n",
    "发布时间 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title')\n",
    "详情页链接 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href')\n",
    "\n",
    "for i in range(10):\n",
    "    r = session.get(\"https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=2&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage={num}\".format(num = i))\n",
    "    职称.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title')) \n",
    "    公司名称.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title'))\n",
    "    薪水.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()'))\n",
    "    经验.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()'))\n",
    "    发布时间.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title'))\n",
    "    详情页链接.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href'))\n",
    "\n",
    "    \n",
    "df_data = pd.DataFrame( {\n",
    "     \"职称\": 职称,\n",
    "     \"公司名称\": 公司名称,\n",
    "     \"薪水\": 薪水,\n",
    "     \"经验\": 经验,\n",
    "     \"发布时间\": 发布时间,\n",
    "     \"详情页链接\": 详情页链接,\n",
    "    \n",
    "             } )\n",
    "df_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "#准备基本模块\n",
      "import pandas as pd\n",
      "from requests_html import HTMLSession\n",
      "import urllib.parse\n",
      "url = \"https://www.liepin.com/zhaopin/\"\n",
      "session = HTMLSession()\n",
      "r = session.get( url )\n",
      "行业_xpath = '//div[@class=\"wrap\"]//div[contains(@class,\"sub-industry\")]/a'\n",
      "行业_url = [list(i.absolute_links)[0] for i in r.html.xpath(行业_xpath)]\n",
      "行业_url\n",
      "名称 = r.html.xpath('//div[@class=\"wrap\"]//div[contains(@class,\"sub-industry\")]/a/text()')\n",
      "名称\n",
      "名称分类_str = {k:i for k,i in enumerate(名称)}\n",
      "名称分类_str\n",
      "分类_dict = {i:行业_url[k].split('?')[1].split('&') for k,i in enumerate(名称)}\n",
      "分类_dict\n",
      "分类_df = pd.DataFrame(分类_dict)\n",
      "分类_df\n",
      "分类_df[10:13]\n",
      "industries_list = 分类_df[12:13].T[12].to_list()\n",
      "industries_list\n",
      "industryType_list = 分类_df[10:11].T[10].to_list()\n",
      "industryType_list\n",
      "分类 = 分类_df.columns.to_list()\n",
      "分类\n",
      "industry_参数构建 = {分类[i]:industryType_list[i].split('=')[1] for i in range(len(industryType_list))}\n",
      "\n",
      "industry_参数构建\n",
      "industries_参数构建 = {分类[i]:industries_list[i].split('=')[1] for i in range(len(industries_list))}\n",
      "industries_参数构建\n",
      "# for i in range(len(industries_list)):\n",
      "#     分类_dict = {i:{x.split('=')[0]:x.split('=')[1]   for x in 参数模版[k].split('?')[1].split('&')} for k,i in enumerate(小分类_文本)}\n",
      "#     分类_dict[分类[i]]={小分类_文本[i]:行业分类_dict[小分类_文本[i]][\"industries\"] for i in range(len(分类_dict))}\n",
      "# 分类_dict\n",
      "print(分类[1])\n",
      "参数模版 = urllib.parse.urlparse(行业_url[1])\n",
      "\n",
      "print(参数模版)\n",
      "参数模版.query.split(\"&\")\n",
      "参数模版_dict = {  i.split('=')[0]   :    i.split('=')[1]          for i in 参数模版.query.split(\"&\")}\n",
      "参数模版_dict\n",
      "# 参数模版_dict =  参数模版.query.split(\"&\")\n",
      "# 参数模版_dict\n",
      "def 参数模板(i):\n",
      "    industry_values = industry_参数构建[i]\n",
      "    industries_values = industries_参数构建[i]\n",
      "    参数模版_dict[\"industry\"] = industry_values\n",
      "    参数模版_dict[\"industries\"] = industries_values\n",
      "    \n",
      "    return (参数模版_dict)\n",
      "参数模板('游戏产业')\n",
      "参数模版_list = pd.Series(参数模版).tolist()\n",
      "参数模版_list\n",
      "def url_参数模板(i):\n",
      "    industry_values = industry_参数构建[i]\n",
      "    industries_values = industries_参数构建[i]\n",
      "    参数模版_dict[\"industry\"] = industry_values\n",
      "    参数模版_dict[\"industries\"] = industries_values\n",
      "    query_new = \"&\".join([k+\"=\"+v for k,v in 参数模版_dict.items()]) # 新生成的query\n",
      "    参数模版_list[4] = query_new\n",
      "    url_参数 =  urllib.parse.urlunparse(参数模版_list)      \n",
      "    return (url_参数)\n",
      " url_参数模板('互联网/电商')\n",
      "def change_industry(i):\n",
      "    url = url_参数模板(i)\n",
      "    session = HTMLSession()\n",
      "    r = session.get( url )\n",
      "\n",
      "    dict_xpaths = {\n",
      "    \"职称\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title',\n",
      "    \"公司名称\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title',\n",
      "    \"薪水\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()',\n",
      "    \"经验\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()',\n",
      "    \"发布时间\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title',\n",
      "    \"详情页链接\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href',\n",
      "    \"公司概况链接\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p[contains(@class,\"company-name\")]/a/@href',\n",
      "    }\n",
      "\n",
      "    主要元素 = r.html.xpath( \\\n",
      "    '//div[@class=\"job-content\"]/div[@class=\"sojob-result \"]')\n",
      "    数据字典 = {k:r.html.xpath(v) for k,v in dict_xpaths.items()}\n",
      "    数据 = pd.DataFrame(数据字典)\n",
      "    \n",
      "    return(数据)\n",
      "change_industry('互联网/电商')\n",
      "len(change_industry('互联网/电商')['职称'])\n",
      "薪资_xpath = '//div[@class=\"wrap\"]//dd[contains(@data-param,\"salary\")]/a'\n",
      "薪资_url = [list(i.absolute_links)[0] for i in r.html.xpath(薪资_xpath)]\n",
      "薪资_url\n",
      "薪资分类 = r.html.xpath('//div[@class=\"wrap\"]//dd[contains(@data-param,\"salary\")]/a/text()')\n",
      "薪资分类\n",
      "薪资分类_str = {k:i for k,i in enumerate(薪资分类)}\n",
      "薪资分类_str\n",
      "薪资分类_dict = {i:薪资_url[k].split('?')[1].split('&') for k,i in enumerate(薪资分类)}\n",
      "薪资分类_dict\n",
      "薪资分类_df = pd.DataFrame(薪资分类_dict)\n",
      "薪资分类_df\n",
      "薪资分类_df[3:5]\n",
      "salaryType_list = 薪资分类_df[4:5].T[4].to_list()\n",
      "salaryType_list\n",
      "salary_list = 薪资分类_df[4:5].T[4].to_list()\n",
      "salary_list\n",
      "薪资分类_名称 = 薪资分类_df.columns.to_list()\n",
      "薪资分类_名称\n",
      "薪资分类_薪资 = 薪资分类_df.columns.to_list()\n",
      "薪资分类_薪资\n",
      "salary_参数构建 = {薪资分类_薪资[i]:salary_list[i].split('=')[1] for i in range(len(salary_list))}\n",
      "salary_参数构建\n",
      "salary_参数构建 = {薪资分类_薪资[i]:salaryType_list[i].split('=')[1] for i in range(len(salaryType_list))}\n",
      "salary_参数构建\n",
      "参数模版 = urllib.parse.urlparse(薪资_url[1])\n",
      "\n",
      "print(参数模版)\n",
      "参数模版.query.split(\"&\")\n",
      "参数模版_dict = {  i.split('=')[0]   :    i.split('=')[1]          for i in 参数模版.query.split(\"&\")}\n",
      "参数模版_dict\n",
      "def 参数模板(i):\n",
      "    salary_values = salary_参数构建[i]\n",
      "\n",
      "    参数模版_dict[\"salary\"] = salary_values\n",
      "    \n",
      "    return (参数模版_dict)\n",
      "参数模板('10-15万')\n",
      "参数模版_list = pd.Series(参数模版).tolist()\n",
      "参数模版_list\n",
      "def url_参数模板(i):\n",
      "    salary_values =  salary_参数构建[i]\n",
      "\n",
      "    参数模版_dict[\"salary\"] =  salary_values\n",
      "\n",
      "    query_new = \"&\".join([k+\"=\"+v for k,v in 参数模版_dict.items()]) # 新生成的query\n",
      "    参数模版_list[4] = query_new\n",
      "    url_参数 =  urllib.parse.urlunparse(参数模版_list)      \n",
      "    return (url_参数)\n",
      " url_参数模板('10-15万')\n",
      "def change_salary(i):\n",
      "    url = url_参数模板(i)\n",
      "    session = HTMLSession()\n",
      "    r = session.get( url )\n",
      "\n",
      "    dict_xpaths = {\n",
      "    \"职称\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title',\n",
      "    \"公司名称\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title',\n",
      "    \"薪水\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()',\n",
      "    \"经验\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()',\n",
      "    \"发布时间\":'.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title',\n",
      "    \"详情页链接\":'.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href',\n",
      "    \"公司概况链接\":'.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p[contains(@class,\"company-name\")]/a/@href',\n",
      "    }\n",
      "\n",
      "    主要元素 = r.html.xpath( \\\n",
      "    '//div[@class=\"job-content\"]/div[@class=\"sojob-result \"]')\n",
      "    数据字典 = {k:r.html.xpath(v) for k,v in dict_xpaths.items()}\n",
      "    数据 = pd.DataFrame(数据字典)\n",
      "    \n",
      "    return(数据)\n",
      "change_salary('10-15万')\n",
      "len(change_salary('10-15万')['薪水'])\n",
      "base_url_01 = 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=2&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage=0'\n",
      "base_url_02 = 'https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=0&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage=1'\n",
      "\n",
      "页码 = ['第一页','第二页']\n",
      "links = [base_url_01,base_url_02]\n",
      "翻页_dict = {i:links[k].split('?')[1].split('&') for k,i in enumerate(页码)}\n",
      "pd.DataFrame(翻页_dict)\n",
      "session = HTMLSession()\n",
      "r = session.get(base_url_01)\n",
      "职称 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title')\n",
      "公司名称 = r.html.xpath('.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title')\n",
      "薪水 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()')\n",
      "经验 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()')\n",
      "发布时间 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title')\n",
      "详情页链接 = r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href')\n",
      "\n",
      "for i in range(10):\n",
      "    r = session.get(\"https://www.liepin.com/zhaopin/?compkind=&dqs=&pubTime=&pageSize=40&salary=&compTag=&sortFlag=&degradeFlag=0&compIds=&subIndustry=&jobKind=&industries=040&compscale=&key=&siTag=1B2M2Y8AsgTpgAmY7PhCfg%7E1p1Hf6Iytm4nd3ac31P45g&d_sfrom=search_unknown&d_ckId=3dae0201d5e633a043dd9b3de92f51b6&d_curPage=2&d_pageSize=40&d_headId=9f9592e5ff65ada9ec4b28a6d8d91d10&curPage={num}\".format(num = i))\n",
      "    职称.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/@title')) \n",
      "    公司名称.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"company-info nohover\")]/p/a/@title'))\n",
      "    薪水.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[contains(@class,\"text-warning\")]/text()'))\n",
      "    经验.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"condition clearfix\")]/span[2]/text()'))\n",
      "    发布时间.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/p[contains(@class,\"time-info clearfix\")]/time/@title'))\n",
      "    详情页链接.extend(r.html.xpath('.//ul/li/div/div[contains(@class,\"job-info\")]/h3/a/@href'))\n",
      "\n",
      "    \n",
      "df_data = pd.DataFrame( {\n",
      "     \"职称\": 职称,\n",
      "     \"公司名称\": 公司名称,\n",
      "     \"薪水\": 薪水,\n",
      "     \"经验\": 经验,\n",
      "     \"发布时间\": 发布时间,\n",
      "     \"详情页链接\": 详情页链接,\n",
      "    \n",
      "             } )\n",
      "df_data\n",
      "history\n"
     ]
    }
   ],
   "source": [
    "history"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "165px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
